From 6b7be13331ce254fe146b856cb40ddd094b9e793 Mon Sep 17 00:00:00 2001 From: Hiram Chirino Date: Wed, 8 Nov 2023 13:37:29 -0500 Subject: [PATCH] ci: store the previous prod tag as prod-previous so that we can rollback to it easily if we need to. Signed-off-by: Hiram Chirino --- .github/workflows/promote.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 3dc39f2a1..eff02106a 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -77,8 +77,9 @@ jobs: - name: Promote to the prod Tag shell: bash run: | + git tag prod-previous prod --force git tag prod --force - git push origin prod --force + git push origin prod prod-previous --force build-packages: # Sync the agent binary in s3 /download with the prod promotion in the update-prod job