From 0ab6819868e985839f3f1e5c06f523cba2cc5aa9 Mon Sep 17 00:00:00 2001 From: Doug Ilijev Date: Mon, 13 Jun 2016 11:01:23 -0700 Subject: [PATCH] MicroBuild v2: Fix string formatting in change.txt. --- Build/scripts/pre_build.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Build/scripts/pre_build.ps1 b/Build/scripts/pre_build.ps1 index 9a54ccec249..8ed095d3c70 100644 --- a/Build/scripts/pre_build.ps1 +++ b/Build/scripts/pre_build.ps1 @@ -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"