Skip to content

Commit

Permalink
Fix bump-kubevirtci.sh (#321)
Browse files Browse the repository at this point in the history
Since line format was changed to allow overriding default value,
need to adapt the bump script.

Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval authored Jul 29, 2024
1 parent 067f77c commit 90d65bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/bump-kubevirtci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
KUBEVIRTCI_TAG=$(curl -L -Ss https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirtci/latest)
[[ ${#KUBEVIRTCI_TAG} != "18" ]] && echo "error getting KUBEVIRTCI_TAG" && exit 1

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

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

0 comments on commit 90d65bf

Please sign in to comment.