From 1307abc1d63c39ad3e8483c4982daedee7c334fe Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 17 Jul 2024 00:55:44 -0500 Subject: [PATCH] Update pre-release.yaml --- .github/workflows/pre-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {