From 0ac60d34e9cdb05dae8db5edd4e067daebcfe4df Mon Sep 17 00:00:00 2001 From: Dom Rodriguez Date: Sat, 6 Nov 2021 17:13:17 +0000 Subject: [PATCH] Remove Release type condition for artifact publishing (Mac) This commit removes the 'Release' `B_BUILD_TYPE` condition for the Mac builder, and instead just keeps the condition of the image ONLY to be built by the Big Sur build agent. Now, the reason for that condition is because I am future proofing the CI configuration for when we ship M1 builds. Currently, we do not. The other reason, but also more pressing, is to avoid multiple artifacts being published. There *is* a possibility the Big Sur build agent becomes incompatible with older macOS releases, but the CMake configuration would seem to suggest there's backwards compatibility being available. Signed-off-by: Dom Rodriguez --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cef41d36..fc2ae2b5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -123,7 +123,7 @@ jobs: displayName: Clean Build - task: PublishBuildArtifacts@1 displayName: Publish Release DMG if on Big Sur agent - condition: and(eq(variables['B_BUILD_TYPE'], 'Release'), eq(variables['imageName'], 'macOS-11')) + condition: eq(variables['imageName'], 'macOS-11') inputs: pathtoPublish: build/bundle artifactName: Mac Release DMG and App $(imageName)