mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-20 08:15:59 +00:00
ci: fix workflow quoting
This commit is contained in:
parent
da697bb680
commit
ca7f3a02ff
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -45,15 +45,16 @@ jobs:
|
||||
NPM_CONFIG_PROVENANCE: true
|
||||
|
||||
- name: 🏷️ Create tag
|
||||
env:
|
||||
TAG_NAME: ${{ github.event.pull_request.head.ref }}
|
||||
run: |
|
||||
TAG_NAME=${{ github.event.pull_request.head.ref }}
|
||||
git tag $TAG_NAME
|
||||
git push origin $TAG_NAME
|
||||
git tag "$TAG_NAME"
|
||||
git push origin "$TAG_NAME"
|
||||
|
||||
- name: 🛳️ Create GitHub release
|
||||
run: gh release create $TAG_NAME --title "$RELEASE_NAME" --notes "$BODY"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ github.event.pull_request.head.ref }}
|
||||
RELEASE_NAME: ${{ github.event.pull_request.head.ref }}
|
||||
BODY: ${{ github.event.pull_request.body }}
|
||||
run: gh release create "$TAG_NAME" --title "$RELEASE_NAME" --notes "$BODY"
|
||||
|
Loading…
Reference in New Issue
Block a user