Skip to content

Commit 703801e

Browse files
committed
Pipeline fixes
1 parent 318b5a8 commit 703801e

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

ci/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)