Skip to content

Commit

Permalink
fix: separate semantic-release version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Apr 7, 2023
1 parent 028738a commit 5a177e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ jobs:
- name: Set env variable
run: echo "BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV

# Bump version
- name: Bump version using semantic-release
run: |
pip install python-semantic-release
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
semantic-release version
git add .
git commit -m "chore: bump version [skip ci]"
git push origin ${{ env.BRANCH }}
# semantic release
- name: Python Semantic Release to PyPI
uses: relekang/python-semantic-release@master
Expand Down

0 comments on commit 5a177e8

Please sign in to comment.