diff --git a/tools/releaseBuild/signing.xml b/tools/releaseBuild/signing.xml index 96eafa8fcd..ae9af1aa5a 100644 --- a/tools/releaseBuild/signing.xml +++ b/tools/releaseBuild/signing.xml @@ -1,7 +1,7 @@ - diff --git a/tools/releaseBuild/vstsbuild.ps1 b/tools/releaseBuild/vstsbuild.ps1 index a0c20f17c5..1d78994f7b 100644 --- a/tools/releaseBuild/vstsbuild.ps1 +++ b/tools/releaseBuild/vstsbuild.ps1 @@ -21,6 +21,11 @@ Begin & $gitBinFullPath clone -b master --quiet https://github.com/PowerShell/${releaseToolsDirName}.git $releaseToolsLocation Import-Module "$releaseToolsLocation/vstsBuild" -Force Import-Module "$releaseToolsLocation/dockerBasedBuild" -Force -Prefix DockerBased + + # Get the update signing script and update the signing XML file + $updateSigningPath = Join-Path $releaseToolsLocation 'updateSigning.ps1' + Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/releaseBuild/updateSigning.ps1' -OutFile $updateSigningPath + & $updateSigningPath -SigningXmlPath (Join-Path $PSScriptRoot 'signing.xml') } End {