Navigation Menu

Skip to content

Commit

Permalink
WinRT: allowed NuGet packaging code to get hg revision regardless of cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Dec 2, 2015
1 parent 89898d8 commit 3b79ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-scripts/winrtbuild.ps1
Expand Up @@ -248,7 +248,7 @@ if ($DidAnyDLLBuildFail -eq $true) {
Write-Host -ForegroundColor Cyan "... via NuGet install: $NugetPath"
$NugetOutputDir = "$PSScriptRoot\..\VisualC-WinRT\lib\nuget"
Write-Host -ForegroundColor Cyan "... output directory: $NugetOutputDir"
$SDLHGRevision = $($(hg log -l 1 | select-string "changeset") -Replace "changeset:\W*(\d+).*",'$1') 2>$null
$SDLHGRevision = $($(hg log -l 1 --repository "$PSScriptRoot\.." | select-string "changeset") -Replace "changeset:\W*(\d+).*",'$1') 2>$null
Write-Host -ForegroundColor Cyan "... HG Revision: $SDLHGRevision"

# Base options to nuget.exe
Expand Down

0 comments on commit 3b79ab4

Please sign in to comment.