File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,18 @@ jobs:
2929 fetch-depth : 0
3030 - name : Run create-tag script
3131 env :
32+ TAG_ID : ${{ github.event.inputs.tagId }}
3233 message : ${{ github.event.inputs.message }}
3334 # Run when commit hash is not provided (then the tag will be created on the latest commit of the current branch)
3435 if : ${{github.event.inputs.commit_hash == ''}}
3536 run : |
36- bash ./.github/scripts/create-tag.sh -t ${{github.event.inputs.tagId}}
37+ bash ./.github/scripts/create-tag.sh -t "$TAG_ID"
3738 - name : Run create-tag script when commit hash is provided
3839 env :
40+ TAG_ID : ${{ github.event.inputs.tagId }}
41+ COMMIT_HASH : ${{ github.event.inputs.commit_hash }}
3942 message : ${{ github.event.inputs.message }}
4043 # Run when commit hash is provided, tag will be created on top of the commit hash
4144 if : ${{github.event.inputs.commit_hash != ''}}
4245 run : |
43- bash ./.github/scripts/create-tag.sh -c ${{github.event.inputs.commit_hash}} -t ${{github.event.inputs.tagId}}
46+ bash ./.github/scripts/create-tag.sh -c "$COMMIT_HASH" -t "$TAG_ID"
You can’t perform that action at this time.
0 commit comments