From 60a6c387e25f80598316f5b394efe4a9f82fbb5f Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 17 Jul 2024 01:01: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 9490b4b1..f0ba55bc 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 ([string]::IsNullOrEmpty($tagExists)) { + if ($null -eq $tagExists) { git tag $env:VERSION git push origin $env:VERSION } else {