From f0606af843284e0002611bc3b6f439c5516fea10 Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Thu, 26 Jan 2023 11:05:55 -0800 Subject: [PATCH] build: switch publication to keystore (#3707) * build: switch to keystore for additional security Co-authored-by: Benjamin E. Coe --- .kokoro/release/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/release/publish.sh b/.kokoro/release/publish.sh index 1888a6f7622c..b0f04ccc18e0 100755 --- a/.kokoro/release/publish.sh +++ b/.kokoro/release/publish.sh @@ -30,7 +30,7 @@ export NPM_CONFIG_PREFIX=/home/node/.npm-global # Start the releasetool reporter python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script -NPM_TOKEN=$(cat "${KOKORO_GFILE_DIR}/secret_manager/repo_automation_bots_npm_publish_token") +NPM_TOKEN=$(cat $KOKORO_KEYSTORE_DIR/73713_google-cloud-node-npm-token-1) echo "//wombat-dressing-room.appspot.com/:_authToken=${NPM_TOKEN}" > ~/.npmrc SCRIPT=$(realpath $(dirname $0)/./publish-single.sh)