File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2626 server-id : github
2727
2828 - name : Increment the version number
29+ id : incVer
2930 run : |
3031 mvn validate -DincrementBuild
3132 mvn versions:commit
3536 git add pom.xml
3637 git commit -m "[skip ci]"
3738 git tag -a v$APPLICATION_VERSION -m "Release v$APPLICATION_VERSION"
38- echo ::set-output name=application_version::v$APPLICATION_VERSION
39+ echo " ::set-output name=application_version::v$APPLICATION_VERSION"
3940 - name : Push changes
4041 uses : ad-m/github-push-action@master
4142 with :
4950 - name : Create release
5051 uses : softprops/action-gh-release@v1
5152 with :
52- name : ${{ steps.vars .outputs.application_version }}
53+ name : ${{ steps.incVer .outputs.application_version }}
5354 files : target/*.jar
54- tag_name : refs/tags/${{ steps.vars .outputs.application_version }}
55+ tag_name : refs/tags/${{ steps.incVer .outputs.application_version }}
5556
5657 - name : Publish package
5758 run : mvn --batch-mode deploy
You can’t perform that action at this time.
0 commit comments