Update pre-release.yaml

This commit is contained in:
Chris Titus 2024-07-17 01:01:44 -05:00
parent 1307abc1d6
commit 60a6c387e2

View File

@ -29,7 +29,7 @@ jobs:
id: create_tag id: create_tag
run: | run: |
$tagExists = git tag -l $env:VERSION $tagExists = git tag -l $env:VERSION
if ([string]::IsNullOrEmpty($tagExists)) { if ($null -eq $tagExists) {
git tag $env:VERSION git tag $env:VERSION
git push origin $env:VERSION git push origin $env:VERSION
} else { } else {