38
38
env :
39
39
RELEASE_VERSION : ${{ github.event.release.tag_name }}
40
40
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
-
50
41
# This is separate job because there were issues with git after release step, was not able to commit changes.
51
42
update-working-version :
52
43
runs-on : ubuntu-latest
@@ -69,12 +60,12 @@ jobs:
69
60
mvn ${MAVEN_ARGS} -q build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit
70
61
git config --local user.email "[email protected] "
71
62
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
73
64
env :
74
65
RELEASE_VERSION : ${{ github.event.release.tag_name }}
75
66
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