From b4d16a582dfad234f859e7554d45cdc9deb76a49 Mon Sep 17 00:00:00 2001 From: yhirose Date: Sat, 21 Feb 2026 23:27:16 -0500 Subject: [PATCH] Update `latest` tag when new release --- .github/workflows/tag-latest.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/tag-latest.yml diff --git a/.github/workflows/tag-latest.yml b/.github/workflows/tag-latest.yml new file mode 100644 index 0000000..9cca616 --- /dev/null +++ b/.github/workflows/tag-latest.yml @@ -0,0 +1,19 @@ +name: Update latest tag + +on: + release: + types: [published] + +jobs: + tag-latest: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Force-update latest tag + run: | + git tag -f latest + git push origin latest --force