diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68cbb25..687e355 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -99,6 +99,13 @@ jobs: with: path: downloads + - name: Move 'latest' tag to current commit + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + git tag -f latest + git push origin -f latest + - name: Create release (if missing) and upload artifacts to tag env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}