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 6025e4b commit 6ccd84cCopy full SHA for 6ccd84c
1 file changed
.github/workflows/publish.yml
@@ -25,5 +25,15 @@ jobs:
25
run: npm install -g npm@latest
26
27
- run: npm ci
28
+
29
+ - name: Extract version from tag
30
+ id: version
31
+ run: |
32
+ VERSION=${GITHUB_REF#refs/tags/v}
33
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
34
35
+ - name: Update package version
36
+ run: npm version ${{ steps.version.outputs.version }} --no-git-tag-version
37
38
- run: npm run build --if-present
39
- run: npm publish --access public
0 commit comments