Build fails to archive macOS product .dmg for non-release builds
We archive the products in the Jenkinsfile
. However, we only repackage the macOS .tar.gz
to a .dmg
for release builds. Thus the archiving of the macOS product .dmg
file fails for non-release builds.
We can fix this by:
- Allowing optional archiving of macOS .dmg files.
- Also building a macOS .dmg file for non-release builds.
The latter seems useful, to allow testing feature branches and develop
on macOS, as otherwise no product is archived for macOS. It would however increase the build time a little bit.
We should check that if we build a .dmg file always, that we can still do a local build.