From 77084d95a4b5ba3e8b3bf407584df71a3ea2953e Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Tue, 13 Apr 2021 09:44:05 +0200 Subject: [PATCH] Make sure to add -a to commit or files would not be staged Signed-off-by: Chmouel Boudjnah --- openshift/release/update-to-head.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openshift/release/update-to-head.sh b/openshift/release/update-to-head.sh index 72c1b8dd2be..e4e01f4cebc 100755 --- a/openshift/release/update-to-head.sh +++ b/openshift/release/update-to-head.sh @@ -39,7 +39,7 @@ find . -type f -name '*.go' -o -name '*.yaml' | \ -e 's,image: ubuntu$,image: public.ecr.aws/ubuntu/ubuntu:latest,' -e 's,"ubuntu","public.ecr.aws/ubuntu/ubuntu",g' \ -e 's,"busybox","mirror.gcr.io/library/busybox",g' -e 's,image: busybox$,image: mirror.gcr.io/library/busybox,' -git commit -m ":robot: Switching image from docker.io to public cloud providers registry" +git commit -a -m ":robot: Switching image from docker.io to public cloud providers registry" git push -f ${OPENSHIFT_REMOTE} release-next