Skip to content

Commit 5a21bc1

Browse files
committed
Work CI-CD
- Fix check for PR build. ***NO_CI***
1 parent b9ddf42 commit 5a21bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
$MyNuGetVersion = $env:NBGV_NuGetPackageVersion -replace "\-g$env:NBGV_GitCommitIdShort", ""
181181
182182
# replace preview with alpha if this is a PR build
183-
if($env:System_PullRequest_PullRequestId -ne '')
183+
if($env:System_PullRequest_PullRequestId -ne $null)
184184
{
185185
$MyNuGetVersion = $MyNuGetVersion -replace "preview", "alpha"
186186
}

0 commit comments

Comments
 (0)