Skip to content

Commit

Permalink
Merge pull request #12 from Mause/patch-1
Browse files Browse the repository at this point in the history
Call `npm version` with `--no-git-tag-version` for release builds
  • Loading branch information
hannes committed Oct 16, 2023
2 parents 21405f2 + d7b4abc commit 7974656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/node_version.sh
Expand Up @@ -10,7 +10,7 @@ export TAG=''
# for main do prereleases
if [[ "$GITHUB_REF" =~ ^refs/tags/v.+$ ]] ; then
# proper release
npm version `echo $GITHUB_REF | sed 's|refs/tags/v||'`
npm version --no-git-tag-version `echo $GITHUB_REF | sed 's|refs/tags/v||'`
else
git describe --tags --long || exit

Expand Down

0 comments on commit 7974656

Please sign in to comment.