Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Yuwei Ba <[email protected]>
  • Loading branch information
ibigbug authored Sep 29, 2024
1 parent 57b6da6 commit 2894f7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,9 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const tag = 'latest'
const { owner, repo } = context.repo
const { data: { id } } = await github.repos.getReleaseByTag({ owner, repo, 'latest' })
const { data: { id } } = await github.repos.getReleaseByTag({ owner, repo, tag })
await github.repos.deleteRelease({ owner, repo, release_id: id })
- name: Update Latest Tag
Expand Down

0 comments on commit 2894f7c

Please sign in to comment.