diff --git a/.github/workflows/update-latest-tag.yml b/.github/workflows/update-latest-tag.yml new file mode 100644 index 0000000..1031493 --- /dev/null +++ b/.github/workflows/update-latest-tag.yml @@ -0,0 +1,21 @@ +name: Update Latest Tag + +on: + push: + tags: + - v* + +jobs: + update-latest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Update latest tag + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git tag -f latest + git push origin latest --force