diff --git a/build-system/scripts/deploy_npm b/build-system/scripts/deploy_npm index 22b5a63d9a7..dbadd385ee9 100755 --- a/build-system/scripts/deploy_npm +++ b/build-system/scripts/deploy_npm @@ -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)