ci: fix workflow quoting

This commit is contained in:
Daniel Roe 2025-03-18 20:57:01 +00:00
parent da697bb680
commit ca7f3a02ff
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -45,15 +45,16 @@ jobs:
NPM_CONFIG_PROVENANCE: true NPM_CONFIG_PROVENANCE: true
- name: 🏷️ Create tag - name: 🏷️ Create tag
env:
TAG_NAME: ${{ github.event.pull_request.head.ref }}
run: | run: |
TAG_NAME=${{ github.event.pull_request.head.ref }} git tag "$TAG_NAME"
git tag $TAG_NAME git push origin "$TAG_NAME"
git push origin $TAG_NAME
- name: 🛳️ Create GitHub release - name: 🛳️ Create GitHub release
run: gh release create $TAG_NAME --title "$RELEASE_NAME" --notes "$BODY"
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: ${{ github.event.pull_request.head.ref }} TAG_NAME: ${{ github.event.pull_request.head.ref }}
RELEASE_NAME: ${{ github.event.pull_request.head.ref }} RELEASE_NAME: ${{ github.event.pull_request.head.ref }}
BODY: ${{ github.event.pull_request.body }} BODY: ${{ github.event.pull_request.body }}
run: gh release create "$TAG_NAME" --title "$RELEASE_NAME" --notes "$BODY"