We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 067f77c commit 90d65bfCopy full SHA for 90d65bf
hack/bump-kubevirtci.sh
@@ -3,6 +3,6 @@
3
KUBEVIRTCI_TAG=$(curl -L -Ss https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirtci/latest)
4
[[ ${#KUBEVIRTCI_TAG} != "18" ]] && echo "error getting KUBEVIRTCI_TAG" && exit 1
5
6
-sed -i "s/export KUBEVIRTCI_TAG=.*/export KUBEVIRTCI_TAG=${KUBEVIRTCI_TAG}/g" cluster/cluster.sh
+sed -i "s/\(KUBEVIRTCI_TAG:-\)[^}]*/\1${KUBEVIRTCI_TAG}/" cluster/cluster.sh
7
8
git --no-pager diff cluster/cluster.sh | grep KUBEVIRTCI_TAG || true
0 commit comments