File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 2626 java-version : ' 8'
2727 cache : ' maven'
2828
29- - name : Change remote origin to HTTPS
30- run : |
31- git remote set-url origin https://github.com/${GITHUB_REPOSITORY}.git
32-
3329 - name : Configure Git user
3430 run : |
3531 git config user.email "actions@github.com"
4440 run : |
4541 ./mvnw release:prepare -DskipTests -Darguments=-DskipTests \
4642 -DreleaseVersion="$RELEASE_VERSION" -Dtag="$RELEASE_VERSION" \
47- -DdevelopmentVersion="$DEVELOPMENT_VERSION"
43+ -DdevelopmentVersion="$DEVELOPMENT_VERSION" -DpushChanges=false
44+
45+ - name : Change remote origin to HTTPS
46+ run : |
47+ git remote set-url origin https://github.com/${GITHUB_REPOSITORY}.git
48+
49+ - name : Push release tag
50+ env :
51+ GITHUB_ACTOR : ${{ github.actor }}
52+ GITHUB_TOKEN : ${{ github.token }}
53+ run : |
54+ git push origin master --follow-tags
You can’t perform that action at this time.
0 commit comments