File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ Begin {
77
88Process {
99 Write-Verbose " Running GitVersion ..."
10- $gitversionoutput = & " $PSScriptRoot /gitversion/dotnet-gitversion" $PWD / updateassemblyinfo AssemblyInfo.cs / ensureassemblyinfo / output json
10+ $gitversionoutput = & " $PSScriptRoot /gitversion/dotnet-gitversion* " $PWD / updateassemblyinfo AssemblyInfo.cs / ensureassemblyinfo / output json
1111 Write-Verbose " Done"
1212
1313 $jsonObj = " $gitversionoutput " | ConvertFrom-Json
1414
1515 Write-Verbose " Writing variables ..."
1616 foreach ($property in $jsonObj.PSObject.Properties ) {
17- Write-Verbose " GitVersion. $ ( $property.Name ) : $ ( $property.Value ) "
18- Write-Output " ##vso[task.setvariable variable=GitVersion. $ ( $property.Name ) ;]$ ( $property.Value ) "
17+ Write-Verbose " GitVersion_ $ ( $property.Name ) : $ ( $property.Value ) "
18+ Write-Output " ##vso[task.setvariable variable=GitVersion_ $ ( $property.Name ) ;]$ ( $property.Value ) "
1919 }
2020 Write-Verbose " Done"
2121}
You can’t perform that action at this time.
0 commit comments