From 1189724822ac1636e08a4092bbfd4e08e1a0ac10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 9 Apr 2021 14:34:32 +0200 Subject: [PATCH] release: Do not git add kata-{deploy,cleanup}.yaml for the tests repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I was, mistakenly, `git add`ing those files unconditionally. Fixes: #1672 Signed-off-by: Fabiano FidĂȘncio --- tools/packaging/release/update-repository-version.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/packaging/release/update-repository-version.sh b/tools/packaging/release/update-repository-version.sh index 84fbea77a9..b8329aeb7e 100755 --- a/tools/packaging/release/update-repository-version.sh +++ b/tools/packaging/release/update-repository-version.sh @@ -115,6 +115,9 @@ bump_repo() { sed -i "s#katadocker/kata-deploy:${current_version}#katadocker/kata-deploy:${new_version}#g" tools/packaging/kata-deploy/kata-deploy/base/kata-deploy.yaml sed -i "s#katadocker/kata-deploy:${current_version}#katadocker/kata-deploy:${new_version}#g" tools/packaging/kata-deploy/kata-cleanup/base/kata-cleanup.yaml git diff + + git add tools/packaging/kata-deploy/kata-deploy/base/kata-deploy.yaml + git add tools/packaging/kata-deploy/kata-cleanup/base/kata-cleanup.yaml fi info "Creating PR message" @@ -135,8 +138,6 @@ EOT info "OK" fi - git add tools/packaging/kata-deploy/kata-deploy/base/kata-deploy.yaml - git add tools/packaging/kata-deploy/kata-cleanup/base/kata-cleanup.yaml git add VERSION info "Creating commit with new changes" commit_msg="$(generate_commit $new_version $current_version)"