Skip to content

Commit 3b9dc1a

Browse files
committed
[MERGE chakra-core#1132] MicroBuild v2: Fix string formatting in change.txt.
Merge pull request chakra-core#1132 from dilijev:microbuildv2
2 parents 59a7b54 + 0ab6819 commit 3b9dc1a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Build/scripts/pre_build.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ if (Test-Path Env:\TF_BUILD_SOURCEGETVERSION)
104104

105105
# commit message
106106
$command = "$gitExe log -1 --name-status -p $commitHash"
107-
$CommitMessage = iex $command
107+
$CommitMessageLines = iex $command
108+
$CommitMessage = $CommitMessageLines -join "`r`n"
108109

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

0 commit comments

Comments
 (0)