@@ -37,15 +37,15 @@ jobs:
37
37
env :
38
38
RELEASE_VERSION : ${{ github.event.release.tag_name }}
39
39
40
- - name : Release Maven package
41
- uses : samuelmeuli/action-maven-publish@v1
42
- with :
43
- maven_profiles : " release"
44
- maven_args : ${{ env.MAVEN_ARGS }}
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 }}
40
+ # - name: Release Maven package
41
+ # uses: samuelmeuli/action-maven-publish@v1
42
+ # with:
43
+ # maven_profiles: "release"
44
+ # maven_args: ${{ env.MAVEN_ARGS }}
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
49
50
50
# This is separate job because there were issues with git after release step, was not able to commit changes.
51
51
update-working-version :
@@ -64,18 +64,17 @@ jobs:
64
64
distribution : temurin
65
65
cache : ' maven'
66
66
67
- - name : Change version to release version
67
+ - name : Update version to new SNAPSHOT version
68
68
run : |
69
- mvn ${MAVEN_ARGS} versions:set -DnewVersion="${RELEASE_VERSION:1}" versions:commit
70
- mvn ${MAVEN_ARGS} -q build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit
69
+ mvn ${MAVEN_ARGS} build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit
71
70
git config --local user.email "action@github.com"
72
71
git config --local user.name "GitHub Action"
73
- git commit -m "Set new SNAPSHOT version into pom files." -a
72
+ # git commit -m "Set new SNAPSHOT version into pom files." -a
74
73
env :
75
74
RELEASE_VERSION : ${{ github.event.release.tag_name }}
76
75
77
- - name : Push changes to branch
78
- uses : ad-m/github-push-action@master
79
- with :
80
- branch : " ${{inputs.version_branch}}"
81
- github_token : ${{ secrets.GITHUB_TOKEN }}
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 }}
0 commit comments