Skip to content

Commit ac7aac8

Browse files
Fix bug in deployment script
1 parent 5cbd6f5 commit ac7aac8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-pypi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ on:
2121
env:
2222
PYTHON_VERSION: '3.11'
2323
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ github.event_name == 'release' && github.event.release.tag_name || github.event.inputs.version }}
24-
UPLOAD_PYPI: ${{ github.event_name == 'release' && github.event.inputs.upload-pypi || 'true' }}
25-
UPLOAD_TESTPYPI: ${{ github.event_name == 'release' && github.event.inputs.upload-testpypi || 'false' }}
24+
UPLOAD_PYPI: ${{ github.event_name != 'release' && github.event.inputs.upload-pypi || 'true' }}
25+
UPLOAD_TESTPYPI: ${{ github.event_name != 'release' && github.event.inputs.upload-testpypi || 'false' }}
2626

2727
jobs:
2828
build_package:

0 commit comments

Comments
 (0)