From e9b5597ad4a160c2414e50b0eb4a05b73ecba215 Mon Sep 17 00:00:00 2001 From: Joris Mancini Date: Mon, 7 Oct 2024 15:53:45 +0200 Subject: [PATCH] chore: change command to delete tag Signed-off-by: Joris Mancini --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 068020a..b98d51a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,9 +20,10 @@ jobs: uses: actions/checkout@v1 - name: Remove original tag - run: | - git tag -d ${{ github.ref_name }} - git push origin :refs/tags/${{ github.ref_name }} + run: > + gh release delete ${{ github.ref_name }} --yes --cleanup-tag + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Extract tag versions run: |