Skip to content

Commit

Permalink
Merge 5f6ecb6 into 8904c9a
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-rogers committed Dec 17, 2021
2 parents 8904c9a + 5f6ecb6 commit eedb5fc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/push_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies
run: make install

- name: Autobump version
- name: Autobump Python version
run: |
# from refs/tags/v1.2.3 get 1.2.3
VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
Expand All @@ -44,6 +44,15 @@ jobs:
git config --local user.name "github-actions[bot]"
poetry run bump2version patch --verbose --commit --no-tag --new-version $VERSION
- name: Autobump Java version
run: |
VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
echo $VERSION
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
poetry run bump2version patch --verbose --commit --no-tag --new-version $VERSION
working-directory: java

#push version bump to tagged branch so new version is included in pypi
- name: Push changes
uses: ad-m/github-push-action@master
Expand Down

0 comments on commit eedb5fc

Please sign in to comment.