Skip to content

Commit 383a865

Browse files
Merge branch 'feature/fix-signing' of github.com:nextmv-io/nextmv-py into feature/fix-signing
2 parents 0516cdf + 719a1de commit 383a865

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
pip install --upgrade pip
3434
pip install build twine hatch
3535
36+
- name: upgrade version with hatch
37+
run: hatch version ${{ env.VERSION }}
38+
3639
- name: configure git with the bot credentials
3740
run: |
3841
mkdir -p ~/.ssh
@@ -75,19 +78,17 @@ jobs:
7578
env:
7679
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
7780
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
78-
run: python -m build
79-
working-directory: ./nextmv-py
81+
run: |
82+
python -m build
8083
8184
- name: publish to TestPyPI
8285
env:
8386
TWINE_USERNAME: ${{ secrets.TESTPYPI_USERNAME }}
8487
TWINE_PASSWORD: ${{ secrets.TESTPYPI_PASSWORD }}
8588
run: twine upload --repository testpypi dist/*
86-
working-directory: ./nextmv-py
8789

8890
- name: publish to PyPI
8991
env:
9092
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
9193
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
9294
run: twine upload dist/*
93-
working-directory: ./nextmv-py

0 commit comments

Comments
 (0)