Skip to content

Commit c742149

Browse files
committed
fix versioning for workflow dispatch
1 parent 2f0340a commit c742149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
registry-url: 'https://registry.npmjs.org'
1919
scope: '@dvcorg'
2020
- run: |
21-
gh release create $(basename ${{github.head_ref }}) --generate-notes
2221
cd ./packages/gatsby-theme-iterative
22+
gh release create v$(node -p "require('./package.json').version") --generate-notes
2323
yarn publish
2424
env:
2525
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)