Skip to content

Commit

Permalink
fix(plugins): use EXEC_DIR as parent folder so everything should be…
Browse files Browse the repository at this point in the history
… correct
  • Loading branch information
dalisoft committed Feb 21, 2024
1 parent 6eb937a commit c10302c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ release() {
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >>"$TEMP_FILE"

# Bump `package.json` `version` for properly publishing
sed -i '' "s/\"version\": \"[^\"]*\",/\"version\": \"$BUILD_VERSION\",/" package.json
sed -i '' "s/\"version\": \"[^\"]*\",/\"version\": \"$BUILD_VERSION\",/" "$EXEC_DIR/package.json"

export NODE_AUTH_TOKEN="$NPM_TOKEN"
npm publish "$RELEASE_VERSION" --userconfig "$TEMP_FILE"
Expand Down

0 comments on commit c10302c

Please sign in to comment.