Skip to content

Commit

Permalink
Update github action to ensure we push non-snapshot pom.xml before ta…
Browse files Browse the repository at this point in the history
…gging version - part 2
  • Loading branch information
fhoeben committed Mar 31, 2022
1 parent 10e0507 commit 39eeace
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
exclude_types: other,doc,chore

- name: Configure git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
- name: Commit pom.xml without -SNAPSHOT
run: |
git add pom.xml
git commit -m "Prepare for release"
git push origin master
- name: Create Release
id: createRelease
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 39eeace

Please sign in to comment.