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:
parent
275f19461d
commit
0ac60d34e9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue