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 403cb5e commit 8a55062Copy full SHA for 8a55062
.github/workflows/publish.yml
@@ -28,8 +28,7 @@ jobs:
28
- run: yarn install
29
- name: Update package.json version
30
run: |
31
- git fetch --tags
32
- TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
+ TAG=${GITHUB_REF#refs/tags/}
33
jq --arg version "$TAG" '.version = $version' package.json > tmp.$$.json && mv tmp.$$.json package.json
34
- uses: JS-DevTools/npm-publish@v3
35
with:
0 commit comments