Skip to content

Commit 5ecfb23

Browse files
authored
Update release.yml
1 parent 8f918b0 commit 5ecfb23

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
run: |
3636
mvn versions:set -DnewVersion="${MAJOR}.${MINOR}.0"
3737
38+
- name: Commit and push changes to REL
39+
uses: devops-infra/action-commit-push@v1.1.0
40+
with:
41+
github_token: ${{ secrets.GITHUB_TOKEN }}
42+
commit_message: "Update REL version"
43+
3844
- name: Create GitHub Packages JAR release
3945
env:
4046
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
@@ -46,16 +52,8 @@ jobs:
4652
run: |
4753
mvn versions:set -DnewVersion="${MAJOR}.$(( MINOR + 1 )).0-SNAPSHOT"
4854
49-
- name: Commit updated project SNAPSHOT version
50-
uses: peter-evans/create-pull-request@v7
55+
- name: Commit and push changes to SNAPSHOT
56+
uses: devops-infra/action-commit-push@v1.1.0
5157
with:
52-
branch: update-project-snapshot-version
53-
commit-message: Update project SNAPSHOT version
54-
title: Update project SNAPSHOT version
55-
body: This PR automatically updates the project SNAPSHOT version
56-
base: main
57-
add-paths: |
58-
pom.xml
59-
models/pom.xml
60-
annotations/pom.xml
61-
delete-branch: true
58+
github_token: ${{ secrets.GITHUB_TOKEN }}
59+
commit_message: "Update SNAPSHOT version"

0 commit comments

Comments
 (0)