We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nuxt
Learn more about funding links in repositories.
Report abuse
1 parent 6ae5b5f commit fef39cfCopy full SHA for fef39cf
.github/workflows/release.yml
@@ -45,15 +45,16 @@ jobs:
45
NPM_CONFIG_PROVENANCE: true
46
47
- name: 🏷️ Create tag
48
+ env:
49
+ TAG_NAME: ${{ github.event.pull_request.head.ref }}
50
run: |
- TAG_NAME=${{ github.event.pull_request.head.ref }}
- git tag $TAG_NAME
51
- git push origin $TAG_NAME
+ git tag "$TAG_NAME"
52
+ git push origin "$TAG_NAME"
53
54
- name: 🛳️ Create GitHub release
- run: gh release create $TAG_NAME --title "$RELEASE_NAME" --notes "$BODY"
55
env:
56
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57
TAG_NAME: ${{ github.event.pull_request.head.ref }}
58
RELEASE_NAME: ${{ github.event.pull_request.head.ref }}
59
BODY: ${{ github.event.pull_request.body }}
60
+ run: gh release create "$TAG_NAME" --title "$RELEASE_NAME" --notes "$BODY"
0 commit comments