From fbad1a0e5d7081b3c9ad300496541390b6ef82f4 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 9 Apr 2024 10:35:24 -0700 Subject: [PATCH] CI: Auto tag latest on release --- .github/workflows/auto-tag-latest.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/auto-tag-latest.yml diff --git a/.github/workflows/auto-tag-latest.yml b/.github/workflows/auto-tag-latest.yml new file mode 100644 index 00000000..21c61530 --- /dev/null +++ b/.github/workflows/auto-tag-latest.yml @@ -0,0 +1,13 @@ +name: "auto-tag-latest" +on: + release: + types: [published] +jobs: + auto-tag-latest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + - run: | + git push --delete origin latest + git tag latest ${{ github.ref_name }} + git push origin latest