From f5497931d1d3c557938e77d9f42c740d02c0e740 Mon Sep 17 00:00:00 2001 From: Uranite <62639703+Uranite@users.noreply.github.com> Date: Sun, 3 Nov 2024 21:14:58 +0700 Subject: [PATCH] Delete tag before making a release So that the date and the associated commit is updated --- .github/workflows/windows-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 9a711c6..a00ad53 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -56,6 +56,13 @@ jobs: - name: Av1an build run: cargo build --release + - name: Delete existing release + continue-on-error: true + env: + GH_TOKEN: ${{ github.token }} + run: | + gh release delete latest --cleanup-tag + - name: Create prerelease uses: softprops/action-gh-release@v2 with: