File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,15 @@ jobs:
2424 git config --global user.name ${{ github.actor }}
2525 git config --global user.email ${{ github.actor }}@users.noreply.github.com
2626 - name : create a new branch that references commit id
27- run : git checkout -b ${{ github.event.inputs.version_number }} ${{ github.event.inputs.commit_id }}
27+ env :
28+ VERSION_NUMBER : ${{ github.event.inputs.version_number }}
29+ COMMIT_ID : ${{ github.event.inputs.commit_id }}
30+ run : git checkout -b "$VERSION_NUMBER" "$COMMIT_ID"
2831 - name : Tag Commit and Push to remote
32+ env :
33+ VERSION_NUMBER : ${{ github.event.inputs.version_number }}
2934 run : |
30- git tag ${{ github.event.inputs.version_number }} -a -m "Release ${{ github.event.inputs.version_number }} "
35+ git tag "$VERSION_NUMBER" -a -m "Release "$VERSION_NUMBER" "
3136 git push origin --tags
3237 - name : Verify tag on remote
3338 env :
You can’t perform that action at this time.
0 commit comments