diff --git a/scripts/node_build.sh b/scripts/node_build.sh index 4f9186c9..8afefd3e 100755 --- a/scripts/node_build.sh +++ b/scripts/node_build.sh @@ -35,7 +35,6 @@ fi export PATH=$(npm bin):$PATH ./node_modules/.bin/node-pre-gyp package testpackage testbinary --target_arch="$TARGET_ARCH" if [[ "$GITHUB_REF" =~ ^(refs/heads/main|refs/tags/v.+)$ ]] ; then - echo "UPLOAD" - # TODO ./node_modules/.bin/node-pre-gyp publish --target_arch=$TARGET_ARCH - # TODO ./node_modules/.bin/node-pre-gyp info --target_arch=$TARGET_ARCH + ./node_modules/.bin/node-pre-gyp publish --target_arch=$TARGET_ARCH + ./node_modules/.bin/node-pre-gyp info --target_arch=$TARGET_ARCH fi diff --git a/scripts/node_build_win.sh b/scripts/node_build_win.sh index 9dc6b039..adefa8ea 100644 --- a/scripts/node_build_win.sh +++ b/scripts/node_build_win.sh @@ -15,10 +15,7 @@ if [[ ! "$GITHUB_REF" =~ ^(refs/tags/v.+)$ ]] ; then fi npx node-pre-gyp package testpackage testbinary - -TODO if [[ "$GITHUB_REF" =~ ^(refs/heads/main|refs/tags/v.+)$ ]] ; then - echo "UPLOAD" - # npx node-pre-gyp publish - # npx node-pre-gyp info + npx node-pre-gyp publish + npx node-pre-gyp info fi \ No newline at end of file diff --git a/scripts/node_version.sh b/scripts/node_version.sh index c87938df..56f455e0 100755 --- a/scripts/node_version.sh +++ b/scripts/node_version.sh @@ -28,7 +28,6 @@ npm pack --dry-run # upload to npm, maybe if [[ "$GITHUB_REF" =~ ^(refs/heads/main|refs/tags/v.+)$ && "$1" = "upload" ]] ; then npm version - echo $TAG - # npm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN - # npm publish --access public $TAG + npm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN + npm publish --access public $TAG fi