Skip to content

Commit

Permalink
(GH-59) Correcting issue when running GitVersion
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
gep13 committed Jan 8, 2016
1 parent 5dd44f0 commit 8477826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BuildScripts/default.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ Task -Name RunGitVersion -Depends __InstallGitVersion -Description "Execute the
exec {
if(isAppVeyor) {
Write-Output "Running on AppVeyor, so UpdateAssemblyInfo will be called."
& $gitVersionExe /output buildserver /UpdateAssemblyInfo true
& $gitVersionExe $rootDirectory /output buildserver /UpdateAssemblyInfo true
$script:version = $env:GitVersion_LegacySemVerPadded
} else {
$output = & $gitVersionExe
Expand Down

0 comments on commit 8477826

Please sign in to comment.