File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 40
40
uses : actions/checkout@v3
41
41
with :
42
42
fetch-depth : 0 # required by previous_tag
43
+ ref : ${{ github.head_ref }}
44
+ token : ${{ secrets.SCB_BOT_USER_TOKEN }}
43
45
44
46
- name : Set up JDK 17
45
47
uses : actions/setup-java@v3
96
98
sed -i -e "s@\(<version>\)\([0-9].[0-9].[0-9]\(-[A-z0-9]*\)*\)\(</version>\)@\1${{ steps.extract-version.outputs.MVN_VERSION }}\4@g" README.md
97
99
sed -i -e "s@\(version: '\)\([0-9].[0-9].[0-9]\(-[A-z0-9]*\)*\)\('\)@\1${{ steps.extract-version.outputs.MVN_VERSION }}\4@g" README.md
98
100
git add README.md
99
- git commit -S -m "Update version in README"
101
+ git commit -Ss -m "Update version in README"
100
102
git push
101
- env :
102
- GITHUB_TOKEN : ${{ secrets.SCB_BOT_USER_TOKEN }}
103
103
104
104
# Required for creation of GitHub release
105
105
- name : " Get previous tag"
You can’t perform that action at this time.
0 commit comments