Skip to content

Commit 7a955f9

Browse files
chore: change command to delete tag (#3)
Signed-off-by: Joris Mancini <[email protected]>
1 parent 520c76b commit 7a955f9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
uses: actions/checkout@v1
2121

2222
- name: Remove original tag
23-
run: |
24-
git tag -d ${{ github.ref_name }}
25-
git push origin :refs/tags/${{ github.ref_name }}
23+
run: >
24+
gh release delete ${{ github.ref_name }} --yes --cleanup-tag
25+
env:
26+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2627

2728
- name: Extract tag versions
2829
run: |

0 commit comments

Comments
 (0)