Skip to content

Commit

Permalink
ci: hand v prefix for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dipakparmar committed Aug 4, 2024
1 parent a1e1f27 commit dd36f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
run: pnpm run build
- name: Set package version
run: |
VERSION=${GITHUB_REF#refs/tags/}
VERSION=${GITHUB_REF#refs/tags/v}
echo "Setting package version to $VERSION"
npm version $VERSION --no-git-tag-version --allow-same-version
- name: Publish to npm
Expand Down

0 comments on commit dd36f7d

Please sign in to comment.