[Python-checkins] Fix unquoted YAML in Windows release build (GH-17479)

Steve Dower webhook-mailer at python.org
Thu Dec 5 18:32:08 EST 2019


https://github.com/python/cpython/commit/44ea525ca56ad8ef783cbcd3a0636a425e5d801a
commit: 44ea525ca56ad8ef783cbcd3a0636a425e5d801a
branch: master
author: Steve Dower <steve.dower at python.org>
committer: GitHub <noreply at github.com>
date: 2019-12-05T15:32:04-08:00
summary:

Fix unquoted YAML in Windows release build (GH-17479)

files:
M .azure-pipelines/windows-release/stage-publish-nugetorg.yml
M .azure-pipelines/windows-release/stage-publish-pythonorg.yml

diff --git a/.azure-pipelines/windows-release/stage-publish-nugetorg.yml b/.azure-pipelines/windows-release/stage-publish-nugetorg.yml
index 5aba048cd72a6..b78bd493a0fd1 100644
--- a/.azure-pipelines/windows-release/stage-publish-nugetorg.yml
+++ b/.azure-pipelines/windows-release/stage-publish-nugetorg.yml
@@ -31,7 +31,7 @@ jobs:
       buildVersionToDownload: specific
       buildId: $(BuildToPublish)
 
-  - powershell: gci pythonarm*.nupkg | %{ Write-Host "Not publishing: $($_.Name)"; gi $_ } | del
+  - powershell: 'gci pythonarm*.nupkg | %{ Write-Host "Not publishing: $($_.Name)"; gi $_ } | del'
     displayName: 'Prevent publishing ARM/ARM64 packages'
     workingDirectory: '$(Build.BinariesDirectory)\nuget'
     condition: and(succeeded(), not(variables['PublishArmPackages']))
diff --git a/.azure-pipelines/windows-release/stage-publish-pythonorg.yml b/.azure-pipelines/windows-release/stage-publish-pythonorg.yml
index 6c61e9ac3bdbb..8c95f1b950cd7 100644
--- a/.azure-pipelines/windows-release/stage-publish-pythonorg.yml
+++ b/.azure-pipelines/windows-release/stage-publish-pythonorg.yml
@@ -39,7 +39,7 @@ jobs:
       artifactName: embed
       downloadPath: $(Build.BinariesDirectory)
 
-  - powershell: gci *embed-arm*.zip | %{ Write-Host "Not publishing: $($_.Name)"; gi $_ } | del
+  - powershell: 'gci *embed-arm*.zip | %{ Write-Host "Not publishing: $($_.Name)"; gi $_ } | del'
     displayName: 'Prevent publishing ARM/ARM64 packages'
     workingDirectory: '$(Build.BinariesDirectory)\embed'
     condition: and(succeeded(), not(variables['PublishArmPackages']))



More information about the Python-checkins mailing list