We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f352380 commit 30d4e26Copy full SHA for 30d4e26
.github/workflows/release.yml
@@ -33,7 +33,12 @@ jobs:
33
node-version-file: 'package.json'
34
- name: Build
35
run: make build
36
- - run: npm version --no-commit-hooks --no-git-tag-version ${{ github.ref_name }}
+ - name: set outputs
37
+ id: vars
38
+ run: |
39
+ npm_version=${{ github.ref_name }}
40
+ echo "npm_version=${npm_version#v}" >> "$GITHUB_OUTPUT"
41
+ - run: npm version --no-commit-hooks --no-git-tag-version ${{ steps.vars.outputs.npm_version }}
42
- run: make publish
43
env:
44
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments