Skip to content

Commit 0a04c1c

Browse files
authored
chore(v1): update keystore keyname (#1657)
* chore: update keystore keyname * address review comment
1 parent 15a8aff commit 0a04c1c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.kokoro/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ python3 -m pip install --upgrade twine wheel setuptools
2626
export PYTHONUNBUFFERED=1
2727

2828
# Move into the package, build the distribution and upload.
29-
TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google_cloud_pypi_password")
29+
TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google-cloud-pypi-token-keystore-1")
3030
cd github/google-api-python-client
3131
python3 setup.py sdist bdist_wheel
32-
twine upload --username gcloudpypi --password "${TWINE_PASSWORD}" dist/*
32+
twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/*

.kokoro/release/common.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ before_action {
2828
fetch_keystore {
2929
keystore_resource {
3030
keystore_config_id: 73713
31-
keyname: "google_cloud_pypi_password"
32-
}
31+
keyname: "google-cloud-pypi-token-keystore-1"
32+
}
3333
}
3434
}
3535

3636
# Tokens needed to report release status back to GitHub
3737
env_vars: {
3838
key: "SECRET_MANAGER_KEYS"
3939
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
40-
}
40+
}

0 commit comments

Comments
 (0)