-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ff2617
commit 04c8dc2
Showing
1 changed file
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,25 +40,6 @@ jobs: | |
- name: upgrade version with hatch | ||
run: hatch version ${{ env.VERSION }} | ||
|
||
- name: build binary wheel and source tarball | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python -m build | ||
|
||
- name: publish to TestPyPI | ||
env: | ||
TWINE_USERNAME: ${{ secrets.TESTPYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.TESTPYPI_PASSWORD }} | ||
run: twine upload --repository testpypi dist/* | ||
|
||
- name: publish to PyPI | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: twine upload dist/* | ||
|
||
- name: configure git with the bot credentials | ||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
|
@@ -70,7 +51,6 @@ jobs: | |
|
||
git config --global user.name "nextmv-bot" | ||
git config --global user.email "[email protected]" | ||
git config --global url."[email protected]:".insteadOf "https://github.com/" | ||
|
||
- name: commit new version | ||
run: | | ||
|
@@ -91,3 +71,22 @@ jobs: | |
--verify-tag \ | ||
--generate-notes \ | ||
--title $VERSION $PRERELEASE_FLAG | ||
|
||
- name: build binary wheel and source tarball | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python -m build | ||
|
||
- name: publish to TestPyPI | ||
env: | ||
TWINE_USERNAME: ${{ secrets.TESTPYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.TESTPYPI_PASSWORD }} | ||
run: twine upload --repository testpypi dist/* | ||
|
||
- name: publish to PyPI | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: twine upload dist/* |