8000 pick openapi-generator switch · kubernetes-client/python@03cc141 · GitHub
[go: up one dir, main page]

Skip to content

Commit 03cc141

Browse files
committed
pick openapi-generator switch
1 parent 6a62863 commit 03cc141

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/update-client.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ if [[ -z ${GEN_ROOT:-} ]]; then
4747
GEN_ROOT="${TEMP_FOLDER}/gen"
4848
echo ">>> Cloning gen repo"
4949
git clone --recursive https://github.com/kubernetes-client/gen.git "${GEN_ROOT}"
50+
# pick https://github.com/kubernetes-client/gen/pull/97
51+
cd "${GEN_ROOT}"
52+
git remote add tomplus https://github.com/tomplus/gen.git
53+
git fetch tomplus
54+
# somehow I couldn't get a clean cherrypick of the commit
55+
git checkout tomplus/feat/python-openapi-generator
56+
cd "${SCRIPT_ROOT}"
5057
else
5158
echo ">>> Reusing gen repo at ${GEN_ROOT}"
5259
fi

0 commit comments

Comments
 (0)
0