Skip to content

Commit a88ae00

Browse files
Oren NovotnyJakeGinnivan
authored andcommitted
updates
1 parent 12289fd commit a88ae00

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/GitVersionVsoTask/Run-GitVersion.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ function Get-PathToGitVersionExe() {
2323

2424
$updateAssms = Convert-String $updateAssemblyInfo Boolean
2525

26+
$loc = $($env:BUILD_SOURCESDIRECTORY)
27+
$branch = $($env:BUILD_SOURCEBRANCH)
28+
2629
# Call GitVersion.exe
2730
$gvPath = Get-PathToGitVersionExe
2831
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"
3033

3134

src/GitVersionVsoTask/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": "0",
1616
"Minor": "1",
17-
"Patch": "0"
17+
"Patch": "4"
1818
},
1919
"minimumAgentVersion": "1.83.0",
2020
"groups": [

0 commit comments

Comments
 (0)