Skip to content

Commit

Permalink
automation/release.sh: Temporarily disable release script
Browse files Browse the repository at this point in the history
Stops the /automation/release.sh script from running so that release
reverts PRs won't cause false image pushes.

Signed-off-by: Ram Lavi <[email protected]>
  • Loading branch information
RamLavi committed Nov 8, 2023
1 parent 8de6dd9 commit 8dbbcf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions automation/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 8dbbcf6

Please sign in to comment.