File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,11 @@ jobs:
40
40
run : mvn --batch-mode versions:set -DgenerateBackupPoms=false -DnewVersion=${{ env.GITHUB_MAJOR_VERSION }}.${{ env.GITHUB_MINOR_VERSION }}.${{ env.GITHUB_PATCH_VERSION }}
41
41
42
42
- name : Commit and tag release version
43
- uses :
stefanzweifel/[email protected]
44
- with :
45
- branch : release-${{ github.ref_name }}
46
- create_branch : true
47
- commit_message : Prepare release ${{ github.ref_name }}
48
- tagging_message : ${{ github.ref_name }}
43
+ run : |
44
+ git checkout -b release-${{ github.ref_name }}
45
+ git add .
46
+ git commit -m "Prepare release ${{ github.ref_name }}"
47
+ git tag ${{ github.ref_name }}
49
48
50
49
- name : Build with Maven
51
50
run : mvn --batch-mode -Pjacoco verify
@@ -77,13 +76,11 @@ jobs:
77
76
- name : Change Maven version to next version
78
77
run : mvn --batch-mode versions:set -DgenerateBackupPoms=false -DnewVersion=${{ env.GITHUB_MAJOR_VERSION }}.${{ env.GITHUB_MINOR_VERSION }}.0-SNAPSHOT
79
78
80
- - name : Commit next version
81
- uses :
stefanzweifel/[email protected]
82
- with :
83
- branch : release-${{ github.ref_name }}
84
- commit_message : Prepare next release v${{ env.GITHUB_MAJOR_VERSION }}.${{ env.GITHUB_MINOR_VERSION }}.0
85
- skip_fetch : true
86
- skip_checkout : true
79
+ - name : Commit and tag release version
80
+ run : |
81
+ git checkout -b release-${{ github.ref_name }}
82
+ git add .
83
+ git commit -m "Prepare next release v${{ env.GITHUB_MAJOR_VERSION }}.${{ env.GITHUB_MINOR_VERSION }}.0"
87
84
88
85
- name : Rebase main onto this branch
89
86
run : |
You can’t perform that action at this time.
0 commit comments