Skip to content

Commit

Permalink
[1.2>master] [MERGE #1132] MicroBuild v2: Fix string formatting in ch…
Browse files Browse the repository at this point in the history
…ange.txt.

Merge pull request #1132 from dilijev:microbuildv2
  • Loading branch information
dilijev committed Jun 14, 2016
2 parents 086e6ff + 3b9dc1a commit cc613d8
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 cc613d8

Please sign in to comment.