Skip to content

Commit

Permalink
[MERGE #1132] MicroBuild v2: Fix string formatting in change.txt.
Browse files Browse the repository at this point in the history
Merge pull request #1132 from dilijev:microbuildv2
  • Loading branch information
dilijev committed Jun 14, 2016
2 parents 59a7b54 + 0ab6819 commit 3b9dc1a
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 3b9dc1a

Please sign in to comment.