oops
This commit is contained in:
parent
30ac62ff1e
commit
a6594d1c96
|
@ -101,13 +101,13 @@ jobs:
|
|||
$tag=$env:GITHUB_SHA.SubString(0,7)
|
||||
$branch=$($env:GITHUB_REF -replace 'refs/heads/')
|
||||
$title="${tag}_$branch"
|
||||
gh release create $tag $asset --target $env:GITHUB_SHA -t $title
|
||||
if ($branch -eq 'canary_pr') {
|
||||
$p='-p'
|
||||
}
|
||||
gh release create $tag $asset --target $env:GITHUB_SHA -t $title $p
|
||||
# Remove canary_ to prevent conflicts from tag
|
||||
$tag=$($branch -replace 'canary_')
|
||||
gh release delete $tag -y
|
||||
git push --delete origin $tag
|
||||
git tag -d $tag
|
||||
if ($tag -eq 'pr') {
|
||||
$p='-p'
|
||||
}
|
||||
gh release create $tag $asset --target $env:GITHUB_SHA -t $branch $p
|
||||
|
|
Loading…
Reference in New Issue