File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3838 id : make-commit
3939 run : |
4040 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 }}"
4242
4343 echo "::set-output name=commit::$(git rev-parse HEAD)"
4444
Original file line number Diff line number Diff line change 5151 run : |
5252 BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
5353 VERSION=${BRANCH_NAME#release/}
54- git tag v ${VERSION} master
54+ git tag ${VERSION} master
5555
5656 - name : Extract version from branch name (for hotfix branches) (Unix)
5757 if : github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'hotfix/') && runner.os != 'Windows'
@@ -156,7 +156,7 @@ jobs:
156156 if : github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'release/')
157157 run : |
158158 BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
159- VERSION=${BRANCH_NAME#release/}
159+ VERSION=${BRANCH_NAME#release/v }
160160
161161 echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
162162
You can’t perform that action at this time.
0 commit comments