revert: restore create-dmg in codemagic.yaml#6004
Conversation
dmgbuild change may have broken Codemagic trigger — reverting to the exact create-dmg config that was building successfully (v0.11.161-166). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR reverts the DMG creation toolchain for macOS desktop builds from Key observations:
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Codemagic macOS Build] --> B[Notarize and Staple App]
B --> C[Install create-dmg via brew]
C --> D[Create DMG with create-dmg and --skip-jenkins]
D --> E[Sign DMG via codesign]
E --> F[Notarize DMG via notarytool]
F --> G[Staple DMG via stapler]
G --> H[Upload Artifact]
C --> W1[Workflow 1: brew install create-dmg - missing OR true guard]
C --> W2[Workflow 2: brew install create-dmg OR true - safe]
W1 --> D
W2 --> D
Reviews (1): Last reviewed commit: "revert: restore create-dmg in codemagic...." | Re-trigger Greptile |
|
|
||
| - name: Install create-dmg | ||
| script: | | ||
| brew install create-dmg |
There was a problem hiding this comment.
Missing
|| true on brew install
brew install exits with a non-zero status code when the package is already installed (common on Codemagic agents that cache Homebrew packages between builds). Without || true, this step will mark the build as failed and stop the pipeline.
The second workflow (line 2300) already uses || true for the same reason — this first workflow should be consistent:
| brew install create-dmg | |
| brew install create-dmg || true |
Reverting dmgbuild change — Codemagic stopped building after the switch. Restoring exact config from v0.11.166 (last successful build).
Reverting dmgbuild change — Codemagic stopped building after the switch. Restoring exact config from v0.11.166 (last successful build).