From 71a72973dddbc66ea64073b53eda49f0d22e0942 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Mon, 16 Sep 2024 16:58:36 -0400 Subject: [PATCH] build(python): release script update (#2010) build: release script update --- synthtool/gcp/templates/python_library/.kokoro/release.sh | 2 +- .../gcp/templates/python_library/.kokoro/release/common.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/synthtool/gcp/templates/python_library/.kokoro/release.sh b/synthtool/gcp/templates/python_library/.kokoro/release.sh index 40ce9907b..211177f62 100755 --- a/synthtool/gcp/templates/python_library/.kokoro/release.sh +++ b/synthtool/gcp/templates/python_library/.kokoro/release.sh @@ -23,7 +23,7 @@ python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source / export PYTHONUNBUFFERED=1 # Move into the package, build the distribution and upload. -TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google-cloud-pypi-token-keystore-1") +TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google-cloud-pypi-token-keystore-2") cd github/{{ metadata['repo']['repo'].split('/')[1] }} python3 setup.py sdist bdist_wheel twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/* diff --git a/synthtool/gcp/templates/python_library/.kokoro/release/common.cfg b/synthtool/gcp/templates/python_library/.kokoro/release/common.cfg index fbba1da42..16af62cc0 100644 --- a/synthtool/gcp/templates/python_library/.kokoro/release/common.cfg +++ b/synthtool/gcp/templates/python_library/.kokoro/release/common.cfg @@ -28,7 +28,7 @@ before_action { fetch_keystore { keystore_resource { keystore_config_id: 73713 - keyname: "google-cloud-pypi-token-keystore-1" + keyname: "google-cloud-pypi-token-keystore-2" } } }