Skip to content

Commit

Permalink
Don't use SimpleSign unless set in the build definition too
Browse files Browse the repository at this point in the history
  • Loading branch information
jevansaks committed Dec 15, 2018
1 parent 9dea77f commit 9049485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/FrameworkPackage/MakeFrameworkPackage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Write-Host $makeappx
cmd /c $makeappx
if ($LastExitCode -ne 0) { Exit 1 }

if ($env:TFS_ToolsDirectory -and ($env:BUILD_DEFINITIONNAME -match "_release"))
if ($env:TFS_ToolsDirectory -and ($env:BUILD_DEFINITIONNAME -match "_release") -and $env:UseSimpleSign)
{
# From MakeAppxBundle in the XES tools
$signToolPath = $env:TFS_ToolsDirectory + "\bin\SimpleSign.exe"
Expand Down

0 comments on commit 9049485

Please sign in to comment.