Skip to content

Commit a92f49e

Browse files
committed
Add fix to bump version properly when running on main
1 parent 06d5be3 commit a92f49e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,15 @@ jobs:
6262
pip install python-semantic-release==7.34.6
6363
git config --global user.name "github-actions"
6464
git config --global user.email "github-actions[bot]@users.noreply.github.com"
65+
semantic-release changelog
6566
semantic-release version
6667
env:
6768
GH_TOKEN: ${{secrets.GH_REPO_TOKEN}}
69+
- name: Create GitHub Release
70+
run: |
71+
semantic-release publish --skip-build
72+
env:
73+
GH_TOKEN: ${{secrets.GH_REPO_TOKEN}}
6874
- name: Build package
6975
run: poetry build
7076
- name: Publish to PyPI

0 commit comments

Comments
 (0)