Skip to content

Commit

Permalink
MicroBuild v2: Fix string formatting in change.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
dilijev committed Jun 14, 2016
1 parent 2475f39 commit 0ab6819
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Build/scripts/pre_build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ if (Test-Path Env:\TF_BUILD_SOURCEGETVERSION)

# commit message
$command = "$gitExe log -1 --name-status -p $commitHash"
$CommitMessage = iex $command
$CommitMessageLines = iex $command
$CommitMessage = $CommitMessageLines -join "`r`n"

$changeTextFile = Join-Path -Path $outputDir -ChildPath "change.txt"

Expand Down

0 comments on commit 0ab6819

Please # to comment.