From c5347acfbc5e8b2547a213cf227bf852056c8181 Mon Sep 17 00:00:00 2001 From: Mehdy Bohlool Date: Wed, 3 May 2017 11:37:59 -0700 Subject: [PATCH] Update update-client.sh Generator script post-processing if failing if development status has `/` in it. this is true for stable releases. --- scripts/update-client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-client.sh b/scripts/update-client.sh index 7453839ce7..1d6dfe4cc9 100755 --- a/scripts/update-client.sh +++ b/scripts/update-client.sh @@ -60,7 +60,7 @@ find "${CLIENT_ROOT}/" -type f -name \*.md -exec sed -i 's/kubernetes.client-pyt echo "--- updating version information..." sed -i'' "s/^CLIENT_VERSION = .*/CLIENT_VERSION = \\\"${CLIENT_VERSION}\\\"/" "${SCRIPT_ROOT}/../setup.py" sed -i'' "s/^PACKAGE_NAME = .*/PACKAGE_NAME = \\\"${PACKAGE_NAME}\\\"/" "${SCRIPT_ROOT}/../setup.py" -sed -i'' "s/^DEVELOPMENT_STATUS = .*/DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STATUS}\\\"/" "${SCRIPT_ROOT}/../setup.py" +sed -i'' "s,^DEVELOPMENT_STATUS = .*,DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STATUS}\\\"," "${SCRIPT_ROOT}/../setup.py" sed -i'' "/^configuration = Configuration()$/d" "${CLIENT_ROOT}/client/__init__.py" sed -i'' "/^from .configuration import Configuration$/d" "${CLIENT_ROOT}/client/__init__.py" sed -i '${/^$/d;}' "${CLIENT_ROOT}/client/__init__.py"