Skip to content

Commit

Permalink
fix: deploy_npm script variable (#2372)
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy authored Sep 18, 2023
1 parent bbb82e5 commit b46e06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-system/scripts/deploy_npm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cd project/src/$(query_manifest relativeProjectDir $REPOSITORY)

echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc

COMMIT_TAG_VERSION=$(extract_tag_version $REPOSITORY "true")
VERSION=$(extract_tag_version $REPOSITORY "true")

# If the commit tag itself has a dist-tag (e.g. v2.1.0-testnet.123), extract the dist-tag.
TAG=$(echo "$VERSION" | grep -oP ".*-\K(.*)(?=\.\d+)" || true)
Expand Down

0 comments on commit b46e06d

Please sign in to comment.