Skip to content

Commit

Permalink
update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iHsin authored Oct 13, 2024
1 parent f4e132c commit 2bc38db
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,16 +234,13 @@ jobs:
- name: Clean git tag & release
if: startsWith(github.ref, 'refs/heads/dev')
run: |
gh release delete latest --cleanup-tag --yes --repo $GITHUB_REPOSITORY
# Deleted latest tag and push it
git tag -d latest || true
git push origin :refs/tags/latest || true
# Create local tag
git tag latest
- name: Delete drafts
uses: hugo19941994/delete-draft-releases@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Clean git tag
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 2bc38db

Please sign in to comment.