Skip to content

Commit fef39cf

Browse files
committedMar 18, 2025··
ci: fix workflow quoting
1 parent 6ae5b5f commit fef39cf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎.github/workflows/release.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,16 @@ jobs:
4545
NPM_CONFIG_PROVENANCE: true
4646

4747
- name: 🏷️ Create tag
48+
env:
49+
TAG_NAME: ${{ github.event.pull_request.head.ref }}
4850
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"
5253
5354
- name: 🛳️ Create GitHub release
54-
run: gh release create $TAG_NAME --title "$RELEASE_NAME" --notes "$BODY"
5555
env:
5656
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5757
TAG_NAME: ${{ github.event.pull_request.head.ref }}
5858
RELEASE_NAME: ${{ github.event.pull_request.head.ref }}
5959
BODY: ${{ github.event.pull_request.body }}
60+
run: gh release create "$TAG_NAME" --title "$RELEASE_NAME" --notes "$BODY"

0 commit comments

Comments
 (0)
Please sign in to comment.