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 1c5a1e2 commit 42c1832Copy full SHA for 42c1832
delete-tag.ps1
@@ -22,7 +22,7 @@ function DeleteTags {
22
23
if ($tagName -like "*$keyword*") {
24
$deleteUrl = "https://api.github.com/repos/$owner/$repo/git/$tagName"
25
- Invoke-RestMethod -Uri $deleteUrl -Headers $headers -Method Delete
+ Invoke-RestMethod -Uri $tagName -Headers $headers -Method Delete
26
Write-Host "Deleted tag: $tagName"
27
}
28
0 commit comments