Skip to content

Commit 7aafdb8

Browse files
fix: update release workflow to include version in GitHub release creation
1 parent 278bd57 commit 7aafdb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
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+
VERSION: ${{ steps.release-plugin.outputs.version }}
6869
run: gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes

0 commit comments

Comments
 (0)