8000 Publish PGO binaries with correct name for signing (#41) · python/release-tools@0c4db47 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c4db47

Browse files
authored
Publish PGO binaries with correct name for signing (#41)
Without this, a signed build would upload the unsigned binaries with the incorrect artifact name, and the next stage would fail to download them.
1 parent d3c2fd1 commit 0c4db47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windows-release/build-steps-pgo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,14 @@ steps:
135135
136136
- task: PublishPipelineArtifact@0
137137
displayName: 'Publish binaries'
138-
condition: and(succeeded(), or(ne(variables['Configuration'], 'Release'), not(variables['SigningCertificate'])))
138+
condition: and(succeeded(), not(variables['SigningCertificate']))
139139
inputs:
140140
targetPath: '$(Build.BinariesDirectory)\bin\$(Arch)'
141141
artifactName: bin_$(Name)
142142

143143
- task: PublishPipelineArtifact@0
144144
displayName: 'Publish binaries for signing'
145-
condition: and(succeeded(), and(eq(variables['Configuration'], 'Release'), variables['SigningCertificate']))
145+
condition: and(succeeded(), variables['SigningCertificate'])
146146
inputs:
147147
targetPath: '$(Build.BinariesDirectory)\bin\$(Arch)'
148148
artifactName: unsigned_bin_$(Name)

0 commit comments

Comments
 (0)
0