Skip to content

Commit

Permalink
ci: add version id and add step to increment pom version temporary fo…
Browse files Browse the repository at this point in the history
…r release
  • Loading branch information
APayerl committed May 9, 2024
1 parent 3f88a5f commit 9609444
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@ jobs:
}]
- name: Bump version and push tag
id: version
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: master
create_annotated_tag: false
tag_prefix: ''
- name: Bump version in pom.xml
run: mvn versions:set -DnewVersion=${{ steps.version.outputs.new_tag }}
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Publish to Maven Central
Expand Down

0 comments on commit 9609444

Please sign in to comment.