File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -346,7 +346,8 @@ stages:
346346 vmImage : ' windows-latest'
347347
348348 variables :
349- - group : PythonOrgPublish
349+ - ${{ if eq(parameters.SigningCertificate, 'PythonSoftwareFoundation') }} :
350+ - group : PythonOrgPublish
350351 - name : DIST_DIR
351352 value : $(Pipeline.Workspace)\dist
352353
@@ -416,13 +417,10 @@ stages:
416417 UPLOAD_HOST: $(PyDotOrgServer)
417418 UPLOAD_HOST_KEY: $(PyDotOrgHostKey)
418419 UPLOAD_USER: $(PyDotOrgUsername)
419- UPLOAD_KEYFILE: $(sshkey.secureFilePath)
420420 ${{ if ne(parameters.SigningCertificate, 'PythonSoftwareFoundation') }}:
421+ UPLOAD_KEYFILE: $(sshkey.secureFilePath)
421422 NO_UPLOAD: 1
422423
423424 - ${{ if eq(parameters.SigningCertificate, 'PythonSoftwareFoundation') }} :
424425 - powershell : Write-Host "##vso[build.addbuildtag]published"
425426 displayName : ' Add published tag'
426- - ${{ else }} :
427- - powershell : Write-Host "##vso[build.addbuildtag]test-published"
428- displayName : ' Add test-published tag'
You can’t perform that action at this time.
0 commit comments