10000 update release script · googleapis/python-test-utils@0bf0f3a · GitHub
[go: up one dir, main page]

Skip to content

Commit 0bf0f3a

Browse files
authored
update release script
1 parent c86acf3 commit 0bf0f3a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.kokoro/release.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,12 @@ cd github/python-test-utils
2929
python3 setup.py sdist bdist_wheel
3030
gcloud config get-value core/account
3131

32+
python3 -m pip install -U keyring > /dev/null
33+
python3 -m pip install -U keyrings.google-artifactregistry-auth > /dev/null
34+
python3 -m pip install -U twine > /dev/null
35+
36+
if ! gcloud auth application-default print-access-token --quiet > /dev/null; then
37+
gcloud auth application-default login
38+
fi
39+
3240
twine upload --repository-url https://us-python.pkg.dev/oss-exit-gate-prod/google-cloud-testutils--pypi/ dist/*

0 commit comments

Comments
 (0)
0