From e56c93fb25418be75357f70e6c0d5484374a6f76 Mon Sep 17 00:00:00 2001 From: Andrew Helwer <2n8rn1w1f@mozmail.com> Date: Fri, 6 Dec 2024 12:21:22 -0500 Subject: [PATCH] CI: attempt to update release tag with force-push Signed-off-by: Andrew Helwer <2n8rn1w1f@mozmail.com> --- .github/workflows/rolling-prerelease.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rolling-prerelease.yml b/.github/workflows/rolling-prerelease.yml index 8c16c4cc..85501275 100644 --- a/.github/workflows/rolling-prerelease.yml +++ b/.github/workflows/rolling-prerelease.yml @@ -23,17 +23,11 @@ jobs: - name: "Update release tag" if: matrix.os == 'ubuntu-latest' run: | - git tag - echo "Deleting local tag..." - git tag -d "${{ vars.ROLLING_PRERELEASE_VERSION }}" - git remote - echo "Deleting remote tag..." - git push --delete "${{ vars.ROLLING_PRERELEASE_VERSION }}" echo "Creating local tag..." - git tag "${{ vars.ROLLING_PRERELEASE_VERSION }}" - git tag - echo "Creating remote tag..." - git push --tags + git tag -f "${{ vars.ROLLING_PRERELEASE_VERSION }}" + git remote + echo "Updating remote tag..." + git push -f "${{ vars.ROLLING_PRERELEASE_VERSION }}" - name: Install deps on Ubuntu if: matrix.os == 'ubuntu-latest' run: sudo apt-get install --yes time