Skip to content

Commit c6765c5

Browse files
committed
Avoid updating main.
Signed-off-by: Hiram Chirino <hiram@hiramchirino.com>
1 parent be6ce47 commit c6765c5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ jobs:
5353
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${{ github.event.inputs.release-version }}
5454
git add .
5555
git commit -m "Release version update ${{ github.event.inputs.release-version }}"
56-
git push
5756
git tag ${{ github.event.inputs.release-version }}
5857
git push origin ${{ github.event.inputs.release-version }}
5958
env:
@@ -66,12 +65,3 @@ jobs:
6665
MAVEN_USERNAME: ${{ secrets.central_username }}
6766
MAVEN_CENTRAL_TOKEN: ${{ secrets.central_password }}
6867
MAVEN_GPG_PASSPHRASE: ${{ secrets.java_gpg_passphrase }}
69-
70-
- name: Back to Snapshot
71-
run: |
72-
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=9.9.9.9-SNAPSHOT
73-
git add .
74-
git commit -m "Snapshot version update"
75-
76-
- name: Create Pull Request
77-
uses: peter-evans/create-pull-request@v7

0 commit comments

Comments
 (0)