Skip to content

Commit

Permalink
fix(ci): deploy_npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy committed Dec 13, 2023
1 parent 10376ef commit 8360390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-system/scripts/deploy_npm
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ cd project/src/$(query_manifest relativeProjectDir $REPOSITORY)
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >.npmrc

VERSION=$(extract_tag_version $REPOSITORY true)
PACKAGE_NAME=$(jq -r '.name' package.json)

# 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 8360390

Please sign in to comment.