diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7f6bb32..b80e18a 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 }}