CI: Also delete tags
This commit is contained in:
parent
808c05a818
commit
6c68ddae92
|
@ -84,5 +84,6 @@ jobs:
|
||||||
# Remove canary_ to prevent conflicts from tag
|
# Remove canary_ to prevent conflicts from tag
|
||||||
$tag=$($branch -replace 'canary_', '')
|
$tag=$($branch -replace 'canary_', '')
|
||||||
gh release delete $tag -y
|
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
|
gh release create $tag $asset --target $env:GITHUB_SHA -t $branch
|
||||||
|
|
Loading…
Reference in New Issue