Skip to content

Commit

Permalink
Fix a PowerShell typo :)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmacha committed Jun 3, 2024
1 parent fb53238 commit 0531022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Set-UnionApiVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Set-UnionApiVersion
Write-Host "[Binary] Union API version:`t" -NoNewline
Write-Host -ForegroundColor Yellow "$($current.Binary)"

$includeTag = $Version.StartsWith("202") or $Version.StartsWith("v") # Let's make an 2030 millenium problem
$includeTag = $Version.StartsWith("202") -or $Version.StartsWith("v") # Let's make an 2030 millenium problem

SetConfigProperty -Name "UNION_API_COMMIT_REF" -Value "$($includeTag ? "tags/$Version" : $Version)"
SetConfigProperty -Name "UNION_API_VERSION" -Value "$Version"
Expand Down

0 comments on commit 0531022

Please sign in to comment.