CI: Stop marking pr as latest

This commit is contained in:
Margen67 2022-06-02 12:29:08 -07:00 committed by GitHub
parent e901567193
commit 30ac62ff1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -107,4 +107,7 @@ jobs:
gh release delete $tag -y
git push --delete origin $tag
git tag -d $tag
gh release create $tag $asset --target $env:GITHUB_SHA -t $branch
if ($tag -eq 'pr') {
$p='-p'
}
gh release create $tag $asset --target $env:GITHUB_SHA -t $branch $p