mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-20 16:25:55 +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
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user