CI: Also delete tags

This commit is contained in:
Margen67 2022-03-05 00:52:16 -08:00 committed by Gliniak
parent 808c05a818
commit 6c68ddae92
1 changed files with 2 additions and 1 deletions

View File

@ -84,5 +84,6 @@ jobs:
# Remove canary_ to prevent conflicts from tag
$tag=$($branch -replace 'canary_', '')
gh release delete $tag -y
If ($LastExitCode -ne 0) { echo "LastExitCode = $LastExitCode";$LastExitCode = 0 }
git push --delete origin $tag
git tag -d $tag
gh release create $tag $asset --target $env:GITHUB_SHA -t $branch