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.
pnpm version from-git
1 parent 262d1c9 commit fb75318Copy full SHA for fb75318
.github/workflows/publish.yaml
@@ -22,7 +22,8 @@ jobs:
22
- run: pnpm install
23
- run: git config --global user.name "${{ github.actor }}"
24
- run: git config --global user.email "github-action-${{ github.actor }}@users.noreply.github.com"
25
- - run: pnpm version from-git --no-git-tag-version
+ - run: |
26
+ pnpm version --no-git-tag-version "$(git describe --tags --match "v*" --abbrev=0)"
27
- run: pnpm publish --access public --no-git-checks
28
env:
29
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments