From 82197ec4518cf74d61929437944603bea3c8cd23 Mon Sep 17 00:00:00 2001 From: Jack Wotherspoon Date: Wed, 12 Feb 2025 14:49:37 -0500 Subject: [PATCH] build: update release.sh to not use setup.py --- .kokoro/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/release.sh b/.kokoro/release.sh index fccbadaf..cfe9c607 100755 --- a/.kokoro/release.sh +++ b/.kokoro/release.sh @@ -25,5 +25,5 @@ export PYTHONUNBUFFERED=1 # Move into the package, build the distribution and upload. TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google-cloud-pypi-token-keystore-3") cd github/cloud-sql-python-connector -python3 setup.py sdist bdist_wheel +python3 -m build --wheel twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/*