File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 4242 -DnewVersion='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${{ github.event.inputs.milestone }}' \
4343 -B
4444 echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) >> $GITHUB_ENV
45+ - name : Tag Release
46+ env :
47+ PROJECT_VERSION : ${{ env.PROJECT_VERSION }}
48+ run : |
49+ git config --global user.name github-actions[bot]
50+ git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
51+ git checkout -b $PROJECT_VERSION
52+ git commit -a -m "Release $PROJECT_VERSION"
53+ git tag "v$PROJECT_VERSION"
4554 - name : Build and Publish
4655 env :
4756 DISABLE_SAMPLES : true
@@ -50,12 +59,12 @@ jobs:
5059 jfrog rt mvn clean install \
5160 -DskipTests -U -B
5261 jfrog rt build-publish
53- - name : Tag Release
54- uses : jvalkeal/build-zoo-handler@v0.0.4
55- with :
56- tag-release-branch : ${{ env.PROJECT_VERSION }}
57- tag-release-tag : ${{ env.PROJECT_VERSION }}
58- tag-release-tag-prefix : v
62+ - name : Push Release
63+ env :
64+ PROJECT_VERSION : ${{ env.PROJECT_VERSION }}
65+ run : |
66+ git push origin $PROJECT_VERSION
67+ git push --tags origin
5968 - name : Output
6069 id : output
6170 env :
You can’t perform that action at this time.
0 commit comments