File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -277,9 +277,16 @@ jobs:
277
277
contents : ' **\CodeSignSummary-*.md'
278
278
- publish : $(Build.ArtifactStagingDirectory)\SiteExtension
279
279
artifact : SiteExtension
280
+ - pwsh : |
281
+ if ((test-path $(Build.ArtifactStagingDirectory)\ZippedPatchSiteExtension))
282
+ {
283
+ Write-Host "Patched site extension detected."
284
+ Write-Host "##vso[task.setvariable variable=isPatchVersion;isOutput=true]true"
285
+ }
286
+ displayName: 'Set isPatchVersion'
280
287
- publish : $(Build.ArtifactStagingDirectory)\ZippedPatchSiteExtension
281
288
artifact : PatchedSiteExtension
282
- condition : and(succeeded(), ne (variables['patchVersion '], '0 '))
289
+ condition : and(succeeded(), eq (variables['isPatchVersion '], 'true '))
283
290
- publish : $(Build.ArtifactStagingDirectory)\PrivateSiteExtension
284
291
artifact : PrivateSiteExtension
285
292
- publish : $(Build.ArtifactStagingDirectory)\Symbols
You can’t perform that action at this time.
0 commit comments