Update update-client.sh
Generator script post-processing if failing if development status has `/` in it. this is true for stable releases.
This commit is contained in:
parent
a2a91bc97a
commit
c5347acfbc
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user