diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 13755fde..9490b4b1 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -29,7 +29,7 @@ jobs: id: create_tag run: | $tagExists = git tag -l $env:VERSION - if (-not $tagExists) { + if ([string]::IsNullOrEmpty($tagExists)) { git tag $env:VERSION git push origin $env:VERSION } else {