File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,16 @@ jobs:
45
45
NPM_CONFIG_PROVENANCE : true
46
46
47
47
- name : 🏷️ Create tag
48
+ env :
49
+ TAG_NAME : ${{ github.event.pull_request.head.ref }}
48
50
run : |
49
- TAG_NAME=${{ github.event.pull_request.head.ref }}
50
- git tag $TAG_NAME
51
- git push origin $TAG_NAME
51
+ git tag "$TAG_NAME"
52
+ git push origin "$TAG_NAME"
52
53
53
54
- name : 🛳️ Create GitHub release
54
- run : gh release create $TAG_NAME --title "$RELEASE_NAME" --notes "$BODY"
55
55
env :
56
56
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57
57
TAG_NAME : ${{ github.event.pull_request.head.ref }}
58
58
RELEASE_NAME : ${{ github.event.pull_request.head.ref }}
59
59
BODY : ${{ github.event.pull_request.body }}
60
+ run : gh release create "$TAG_NAME" --title "$RELEASE_NAME" --notes "$BODY"
You can’t perform that action at this time.
0 commit comments