fix for version

This commit is contained in:
Chris Frohoff
2022-06-25 03:21:52 +00:00
committed by GitHub
parent 66a012184d
commit 42bd6d2586
+3 -1
View File
@@ -13,7 +13,9 @@ jobs:
with:
java-version: '8'
distribution: 'adopt'
- name: Set version
run: mvn versions:set -DnewVersion=${{ github.ref_name }}-SNAPSHOT
- name: Publish package
run: mvn -B clean deploy -DskipTests -DrepositoryId=github -Dversion=${{ github.ref_name }}-SNAPSHOT
run: mvn -B clean deploy -DskipTests -DrepositoryId=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}