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:
277277 contents : ' **\CodeSignSummary-*.md'
278278 - publish : $(Build.ArtifactStagingDirectory)\SiteExtension
279279 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'
280287 - publish : $(Build.ArtifactStagingDirectory)\ZippedPatchSiteExtension
281288 artifact : PatchedSiteExtension
282- condition : and(succeeded(), ne (variables['patchVersion '], '0 '))
289+ condition : and(succeeded(), eq (variables['isPatchVersion '], 'true '))
283290 - publish : $(Build.ArtifactStagingDirectory)\PrivateSiteExtension
284291 artifact : PrivateSiteExtension
285292 - publish : $(Build.ArtifactStagingDirectory)\Symbols
You can’t perform that action at this time.
0 commit comments