Skip to content

Commit 3641ec0

Browse files
authored
Update azure-pipelines.yml
fix setVarAndLog invokation
1 parent b5465c3 commit 3641ec0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

azure-pipelines.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ steps:
5050
$ciBuilds = ("IndividualCI", "BatchedCI", "PullRequest");
5151
switch -Exact ('$(Build.Reason)') {
5252
{ $ciBuilds -contains $_ } {
53-
setVarAndLog("nugetVersion", "$(major).$(minor).$(patch)-$(ciTag)");
54-
setVarAndLog("producePackage", "true");
53+
setVarAndLog "nugetVersion" "$(major).$(minor).$(patch)-$(ciTag)";
54+
setVarAndLog "producePackage" "true";
5555
}
5656
5757
Default {
58-
setVarAndLog("nugetVersion", "");
59-
setVarAndLog("producePackage", "false");
58+
setVarAndLog "nugetVersion" "";
59+
setVarAndLog "producePackage" "false";
6060
}
6161
}
6262
@@ -77,4 +77,4 @@ steps:
7777
command: 'push'
7878
packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg'
7979
nuGetFeedType: 'internal'
80-
publishVstsFeed: '6c464a6a-95af-4d6c-b50e-c2008380278b'
80+
publishVstsFeed: '6c464a6a-95af-4d6c-b50e-c2008380278b'

0 commit comments

Comments
 (0)