Skip to content

Commit

Permalink
ci(latest): use github cli for cleanup of release and tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeratoxx committed Mar 2, 2024
1 parent a1080b1 commit d9bc41c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
run: |
echo "DEV_VERSION=0.0.0" >> $GITHUB_ENV
- uses: dev-drprasad/[email protected] # PRERELEASE is v1.0 and can also be used to test and give us feedback
with:
tag_name: v${{ env.DEV_VERSION }}
github_token: ${{ secrets.GITHUB_TOKEN }}
delete_release: true
- name: Delete Release and Tag
run: gh release delete v${{ env.DEV_VERSION }} --cleanup-tag
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Push tag
id: push_tag
Expand Down

0 comments on commit d9bc41c

Please sign in to comment.