Skip to content

Commit 9dabba8

Browse files
Fix upload to PyPI. One not able to check if secret is empty - no need since upload to PyPI could happens only after tag.
1 parent 51e94ae commit 9dabba8

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/Release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,4 @@ jobs:
117117
- upload-release
118118
uses: ./.github/workflows/_PyPI.yml
119119
secrets:
120-
PYPI_PASSWORD: ${{ github.event.inputs.mode != 'dry-run' && secrets.PYPI_PASSWORD || '' }}
120+
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

.github/workflows/_PyPI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
python -m pip install --upgrade twine
4242
4343
- name: Upload to PyPI
44-
if: ${{ inputs.PYPI_PASSWORD != '' }}
4544
env:
4645
TWINE_USERNAME: __token__
4746
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

src/PyMca5/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
__contact__ = "sole@esrf.fr"
2828
__license__ = "MIT"
2929
__copyright__ = "European Synchrotron Radiation Facility, Grenoble, France"
30-
__version__ = "5.9.5rc3"
30+
__version__ = "5.9.5rc4"
3131

3232
import os
3333
import sys

0 commit comments

Comments
 (0)