File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 38
38
id : make-commit
39
39
run : |
40
40
git add CHANGELOG.md
41
- git commit --message "Preparing release v ${{ github.event.inputs.tag }}"
41
+ git commit --message "Preparing release ${{ github.event.inputs.tag }}"
42
42
43
43
echo "::set-output name=commit::$(git rev-parse HEAD)"
44
44
Original file line number Diff line number Diff line change 51
51
run : |
52
52
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
53
53
VERSION=${BRANCH_NAME#release/}
54
- git tag v ${VERSION} master
54
+ git tag ${VERSION} master
55
55
56
56
- name : Extract version from branch name (for hotfix branches) (Unix)
57
57
if : github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'hotfix/') && runner.os != 'Windows'
@@ -156,7 +156,7 @@ jobs:
156
156
if : github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'release/')
157
157
run : |
158
158
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
159
- VERSION=${BRANCH_NAME#release/}
159
+ VERSION=${BRANCH_NAME#release/v }
160
160
161
161
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
162
162
You can’t perform that action at this time.
0 commit comments