Skip to content

Commit

Permalink
Auto mvn version update from git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
emlagowski committed Apr 4, 2020
1 parent ddd42a1 commit 7cef4da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/mavenpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Set maven version
run: mvn versions:set -DnewVersion=${GITHUB_REF##*/}

- name: Build with Maven
run: mvn -B package -pl validify-core --file pom.xml

Expand Down

0 comments on commit 7cef4da

Please sign in to comment.