Skip to content

Commit e43ab1e

Browse files
committed
workaround for required LIBRARY env from gen repo
the env is not used by the python client.
1 parent 91bb491 commit e43ab1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/update-client.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ SETTING_FILE="${TEMP_FOLDER}/settings"
4242
echo "export KUBERNETES_BRANCH=\"$(python ${SCRIPT_ROOT}/constants.py KUBERNETES_BRANCH)\"" > $SETTING_FILE
4343
echo "export CLIENT_VERSION=\"$(python ${SCRIPT_ROOT}/constants.py CLIENT_VERSION)\"" >> $SETTING_FILE
4444
echo "export PACKAGE_NAME=\"client\"" >> $SETTING_FILE
45+
# Workaround for https://github.com/kubernetes-client/gen/pull/183.
46+
# The env is required but not used by python client.
47+
echo "export LIBRARY=\"undefined\"" >> $SETTING_FILE
4548

4649
if [[ -z ${GEN_ROOT:-} ]]; then
4750
GEN_ROOT="${TEMP_FOLDER}/gen"

0 commit comments

Comments
 (0)