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 <shymega@shymega.org.uk>
This commit is contained in:
Dom Rodriguez 2021-11-06 17:13:17 +00:00
parent 275f19461d
commit 0ac60d34e9
No known key found for this signature in database
GPG Key ID: 72DCF1231E54BD43
1 changed files with 1 additions and 1 deletions

View File

@ -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)