Skip to content

Commit

Permalink
fix versioning for workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
yathomasi committed Jul 10, 2023
1 parent 2f0340a commit c742149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
registry-url: 'https://registry.npmjs.org'
scope: '@dvcorg'
- run: |
gh release create $(basename ${{github.head_ref }}) --generate-notes
cd ./packages/gatsby-theme-iterative
gh release create v$(node -p "require('./package.json').version") --generate-notes
yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit c742149

Please sign in to comment.