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/*