From 358ad24f02e240da0f64d897bd1a7a455cff145d Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 24 Jun 2021 10:29:53 -0700 Subject: [PATCH] Release pipeline updates for 1ES (#63) --- .vsts-ci/azure-pipelines-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vsts-ci/azure-pipelines-release.yml b/.vsts-ci/azure-pipelines-release.yml index 4ac2805..1f12876 100644 --- a/.vsts-ci/azure-pipelines-release.yml +++ b/.vsts-ci/azure-pipelines-release.yml @@ -25,14 +25,14 @@ stages: - powershell: | $powerShellPath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'powershell' Invoke-WebRequest -Uri https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.ps1 -outfile ./install-powershell.ps1 - ./install-powershell.ps1 -Destination $powerShellPath + ./install-powershell.ps1 -Preview -Destination $powerShellPath $vstsCommandString = "vso[task.setvariable variable=PATH]$powerShellPath;$env:PATH" Write-Host "sending " + $vstsCommandString Write-Host "##$vstsCommandString" displayName: Install PowerShell Core - task: NuGetToolInstaller@1 - displayName: 'Install NuGet 5.9.1' + displayName: 'Install NuGet' inputs: checkLatest: false version: 5.9.1 @@ -113,7 +113,7 @@ stages: # the certificate ID to use certificateId: "CP-230012" # the file pattern to use, comma separated - pattern: '*.psm1,*.psd1' + pattern: '*.psm1,*.psd1,Microsoft.PowerShell.DscSubsystem.dll' - pwsh: | $repoName = [guid]::newGuid().ToString("N") @@ -187,7 +187,7 @@ stages: - download: current artifact: 'nupkg' - task: NuGetToolInstaller@1 - displayName: 'Install NuGet 5.9.1' + displayName: 'Install NuGet' inputs: checkLatest: false version: 5.9.1