chore: fix tag cleanup (#16353)
This commit is contained in:
parent
2acf9ac72f
commit
d0ae89befa
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ async function deleteTag (tag, targetRepo) {
|
||||||
await octokit.git.deleteRef({
|
await octokit.git.deleteRef({
|
||||||
owner: 'electron',
|
owner: 'electron',
|
||||||
repo: targetRepo,
|
repo: targetRepo,
|
||||||
ref: tag
|
ref: `tags/${tag}`
|
||||||
})
|
})
|
||||||
console.log(`${pass} successfully deleted tag ${tag} from ${targetRepo}`)
|
console.log(`${pass} successfully deleted tag ${tag} from ${targetRepo}`)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Reference in a new issue