From 6ec81ea5137f0a6b45a320d60d3598b59002dc8f Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Sun, 24 Oct 2021 19:47:37 -0700 Subject: [PATCH] DEVELOPMENT_STATUS may contain slash. Use colon as delimiter instead --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index 1edc060d1..285b25440 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -143,7 +143,7 @@ echo "New Kubernetes API Version: $new_k8s_api_version" # Update version constants sed -i "s/^KUBERNETES_BRANCH =.*$/KUBERNETES_BRANCH = \"$KUBERNETES_BRANCH\"/g" scripts/constants.py sed -i "s/^CLIENT_VERSION =.*$/CLIENT_VERSION = \"$CLIENT_VERSION\"/g" scripts/constants.py -sed -i "s/^DEVELOPMENT_STATUS =.*$/DEVELOPMENT_STATUS = \"$DEVELOPMENT_STATUS\"/g" scripts/constants.py +sed -i "s:^DEVELOPMENT_STATUS =.*$:DEVELOPMENT_STATUS = \"$DEVELOPMENT_STATUS\":g" scripts/constants.py git commit -am "update version constants for $CLIENT_VERSION release" # Update CHANGELOG with API change release notes since $old_k8s_api_version.