Skip to content

Commit 8669cbf

Browse files
committed
(GH-59) Correcting issue when running GitVersion
- GitVersion was being executed from the BuildScripts folder, therefore there were no AssemblyInfo files to update - By passing in rootDirectory as the first parameter, it will be able to find and update the correct attributes
1 parent 5402114 commit 8669cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BuildScripts/default.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ Task -Name RunGitVersion -Depends __InstallGitVersion -Description "Execute the
415415
exec {
416416
if(isAppVeyor) {
417417
Write-Output "Running on AppVeyor, so UpdateAssemblyInfo will be called."
418-
& $gitVersionExe /output buildserver /UpdateAssemblyInfo true
418+
& $gitVersionExe $rootDirectory /output buildserver /UpdateAssemblyInfo true
419419
$script:version = $env:GitVersion_LegacySemVerPadded
420420
} else {
421421
$output = & $gitVersionExe

0 commit comments

Comments
 (0)