Skip to content

Commit

Permalink
CI: attempt to update release tag with force-push
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Helwer <2n8rn1w1f@mozmail.com>
  • Loading branch information
ahelwer committed Dec 6, 2024
1 parent b17cdc3 commit e56c93f
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/rolling-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e56c93f

Please sign in to comment.