Skip to content

Commit 1bccb58

Browse files
Merge pull request #172 from contentstack/fix/staging-workflow
update workflow
2 parents 278bd57 + 7070ab5 commit 1bccb58

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,12 @@ jobs:
5858
id: release-plugin
5959
uses: JS-DevTools/npm-publish@v3
6060
with:
61-
token: ${{ secrets.NPM_TOKEN }}
61+
token: "${{ secrets.NPM_TOKEN }}"
6262
strategy: upgrade
6363
- name: github-release
6464
if: steps.update_tag.outputs.tagname
6565
id: github-release
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
run: gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes
68+
VERSION: ${{ steps.release-plugin.outputs.version }}
69+
run: gh release create v"$VERSION" --title "Release $VERSION" --generate-notes

0 commit comments

Comments
 (0)