We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ddf42 commit 5a21bc1Copy full SHA for 5a21bc1
azure-pipelines.yml
@@ -180,7 +180,7 @@ jobs:
180
$MyNuGetVersion = $env:NBGV_NuGetPackageVersion -replace "\-g$env:NBGV_GitCommitIdShort", ""
181
182
# replace preview with alpha if this is a PR build
183
- if($env:System_PullRequest_PullRequestId -ne '')
+ if($env:System_PullRequest_PullRequestId -ne $null)
184
{
185
$MyNuGetVersion = $MyNuGetVersion -replace "preview", "alpha"
186
}
0 commit comments