Skip to content

Commit 90d65bf

Browse files
authored
Fix bump-kubevirtci.sh (#321)
Since line format was changed to allow overriding default value, need to adapt the bump script. Signed-off-by: Or Shoval <[email protected]>
1 parent 067f77c commit 90d65bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/bump-kubevirtci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
KUBEVIRTCI_TAG=$(curl -L -Ss https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirtci/latest)
44
[[ ${#KUBEVIRTCI_TAG} != "18" ]] && echo "error getting KUBEVIRTCI_TAG" && exit 1
55

6-
sed -i "s/export KUBEVIRTCI_TAG=.*/export KUBEVIRTCI_TAG=${KUBEVIRTCI_TAG}/g" cluster/cluster.sh
6+
sed -i "s/\(KUBEVIRTCI_TAG:-\)[^}]*/\1${KUBEVIRTCI_TAG}/" cluster/cluster.sh
77

88
git --no-pager diff cluster/cluster.sh | grep KUBEVIRTCI_TAG || true

0 commit comments

Comments
 (0)