diff --git a/redhat/release/update-to-head.sh b/redhat/release/update-to-head.sh index 89ca79d5f..475f74043 100755 --- a/redhat/release/update-to-head.sh +++ b/redhat/release/update-to-head.sh @@ -75,6 +75,9 @@ git checkout origin/$redhat_ref .tekton # Move overlays to root if [[ -d redhat/overlays ]]; then + if [[ -f redhat/overlays/Dockerfile ]]; then + git rm Dockerfile + fi git mv redhat/overlays/* . fi