File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,12 @@ function Get-PathToGitVersionExe() {
23
23
24
24
$updateAssms = Convert-String $updateAssemblyInfo Boolean
25
25
26
+ $loc = $ ($env: BUILD_SOURCESDIRECTORY )
27
+ $branch = $ ($env: BUILD_SOURCEBRANCH )
28
+
26
29
# Call GitVersion.exe
27
30
$gvPath = Get-PathToGitVersionExe
28
31
Write-Output " Path to GitVersion.exe = $gvPath "
29
- Invoke-Tool - Path $gvPath - Arguments " /output buildserver /updateAssemblyInfo $updateAssms $additionalArguments "
32
+ Invoke-Tool - Path $gvPath - Arguments " `" $loc `" /output buildserver /nofetch /b $branch /updateAssemblyInfo $updateAssms $additionalArguments "
30
33
31
34
Original file line number Diff line number Diff line change 14
14
"version" : {
15
15
"Major" : " 0" ,
16
16
"Minor" : " 1" ,
17
- "Patch" : " 0 "
17
+ "Patch" : " 4 "
18
18
},
19
19
"minimumAgentVersion" : " 1.83.0" ,
20
20
"groups" : [
You can’t perform that action at this time.
0 commit comments