We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57b6da6 commit 2894f7cCopy full SHA for 2894f7c
.github/workflows/ci.yml
@@ -346,8 +346,9 @@ jobs:
346
with:
347
github-token: ${{secrets.GITHUB_TOKEN}}
348
script: |
349
+ const tag = 'latest'
350
const { owner, repo } = context.repo
- const { data: { id } } = await github.repos.getReleaseByTag({ owner, repo, 'latest' })
351
+ const { data: { id } } = await github.repos.getReleaseByTag({ owner, repo, tag })
352
await github.repos.deleteRelease({ owner, repo, release_id: id })
353
354
- name: Update Latest Tag
0 commit comments