From 8dbbcf66efb3fe3a8b14070c1763d2c9586ec2af Mon Sep 17 00:00:00 2001 From: Ram Lavi Date: Wed, 8 Nov 2023 13:14:15 +0200 Subject: [PATCH] automation/release.sh: Temporarily disable release script Stops the /automation/release.sh script from running so that release reverts PRs won't cause false image pushes. Signed-off-by: Ram Lavi --- automation/release.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automation/release.sh b/automation/release.sh index 41f513537..53ee890ee 100755 --- a/automation/release.sh +++ b/automation/release.sh @@ -5,6 +5,9 @@ # To run it just do proper docker login and pass the git hub user password/token as # GITHUB_USER and GITHUB_TOKEN env variables. +echo "disabling release creation to prevent false push on reverting specific release" +exit 0 + # To pass user/password from automations, idea is taken from [1] # [1] https://stackoverflow.com/questions/8536732/can-i-hold-git-credentials-in-environment-variables git config credential.helper '!f() { sleep 1; echo "username=${GITHUB_USER}"; echo "password=${GITHUB_TOKEN}"; }; f'