diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index b5fbac7..408e185 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -62,9 +62,15 @@ jobs: pip install python-semantic-release==7.34.6 git config --global user.name "github-actions" git config --global user.email "github-actions[bot]@users.noreply.github.com" + semantic-release changelog semantic-release version env: GH_TOKEN: ${{secrets.GH_REPO_TOKEN}} + - name: Create GitHub Release + run: | + semantic-release publish --skip-build + env: + GH_TOKEN: ${{secrets.GH_REPO_TOKEN}} - name: Build package run: poetry build - name: Publish to PyPI