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