8000 Explicitly set USERNAME in the release script · kubernetes-client/python@a6c28e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit a6c28e1

Browse files
committed
Explicitly set USERNAME in the release script
Sometimes a user's machine has this env set. Setting the value explicitly makes sure we always download the right kubernetes openapi spec during a release.
1 parent a3c3f89 commit a6c28e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ set -o errexit
6464
set -o nounset
6565
set -o pipefail
6666

67+
# used by the client generator: https://github.com/kubernetes-client/gen/blob/729332ad08f0f4d98983b7beb027e2f657236ef9/openapi/openapi-generator/client-generator.sh#L52
68+
export USERNAME=kubernetes
69+
6770
repo_root="$(git rev-parse --show-toplevel)"
6871
declare -r repo_root
6972
cd "${repo_root}"

0 commit comments

Comments
 (0)
0