We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35feddb commit 845a3fdCopy full SHA for 845a3fd
.github/workflows/release.yml
@@ -199,7 +199,8 @@ jobs:
199
run: |
200
git config --global user.name 'github-actions[bot]'
201
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
202
- yarn publish --tag ${{ inputs.npm-tag }} --new-version ${{ inputs.new-version || github.ref_name }}
+ yarn publish --tag ${{ inputs.npm-tag }} --new-version $(echo $VERSION | sed 's/^v//')
203
if: ${{ !env.ACT }}
204
env:
205
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
206
+ VERSION: ${{ inputs.new-version || github.ref_name }}
0 commit comments