Skip to content

Commit 6ec81ea

Browse files
committed
DEVELOPMENT_STATUS may contain slash. Use colon as delimiter instead
1 parent 96cc50e commit 6ec81ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ echo "New Kubernetes API Version: $new_k8s_api_version"
143143
# Update version constants
144144
sed -i "s/^KUBERNETES_BRANCH =.*$/KUBERNETES_BRANCH = \"$KUBERNETES_BRANCH\"/g" scripts/constants.py
145145
sed -i "s/^CLIENT_VERSION =.*$/CLIENT_VERSION = \"$CLIENT_VERSION\"/g" scripts/constants.py
146-
sed -i "s/^DEVELOPMENT_STATUS =.*$/DEVELOPMENT_STATUS = \"$DEVELOPMENT_STATUS\"/g" scripts/constants.py
146+
sed -i "s:^DEVELOPMENT_STATUS =.*$:DEVELOPMENT_STATUS = \"$DEVELOPMENT_STATUS\":g" scripts/constants.py
147147
git commit -am "update version constants for $CLIENT_VERSION release"
148148

149149
# Update CHANGELOG with API change release notes since $old_k8s_api_version.

0 commit comments

Comments
 (0)