3838 env :
3939 RELEASE_VERSION : ${{ github.event.release.tag_name }}
4040
41- - name : Release Maven package
42- uses : samuelmeuli/action-maven-publish@v1
43- with :
44- maven_profiles : " release"
45- gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
46- gpg_passphrase : ${{ secrets.GPG_PASSPHRASE }}
47- nexus_username : ${{ secrets.OSSRH_USERNAME }}
48- nexus_password : ${{ secrets.OSSRH_TOKEN }}
49-
5041 # This is separate job because there were issues with git after release step, was not able to commit changes.
5142 update-working-version :
5243 runs-on : ubuntu-latest
@@ -69,12 +60,12 @@ jobs:
6960 mvn ${MAVEN_ARGS} -q build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit
7061 git config --local user.email "action@github.com"
7162 git config --local user.name "GitHub Action"
72- git commit -m "Set new SNAPSHOT version into pom files." -a
63+ # git commit -m "Set new SNAPSHOT version into pom files." -a
7364 env :
7465 RELEASE_VERSION : ${{ github.event.release.tag_name }}
7566
76- - name : Push changes to branch
77- uses : ad-m/github-push-action@master
78- with :
79- branch : " ${{inputs.version-branch}}"
80- github_token : ${{ secrets.GITHUB_TOKEN }}
67+ # - name: Push changes to branch
68+ # uses: ad-m/github-push-action@master
69+ # with:
70+ # branch: "${{inputs.version-branch}}"
71+ # github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments