Skip to content

Commit

Permalink
chore(ci): commit & push new version upon release
Browse files Browse the repository at this point in the history
  • Loading branch information
gciatto committed May 5, 2024
1 parent 487678a commit b5102a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,18 @@ jobs:
shell: bash
run: poetry run python bump_version.py --apply | tee CHANGELOG.md

- name: Commit version change
shell: bash
run: |
git add pyproject.toml
git commit -m "chore(release): v.$(poetry version --short) [skip ci]"
- name: Build Python Package
run: poetry build

- name: Push changes
run: git push

- name: Publish on TestPyPI
run: poetry publish --repository pypi-test --username __token__ --password ${{ secrets.TEST_PYPI_TOKEN }}

Expand Down

0 comments on commit b5102a6

Please sign in to comment.