Skip to content

CI: answer the dmg license prompt when mounting it in bundle-macos - #13

Merged
df49b9cd merged 1 commit into
mainfrom
ci/dmg-license-prompt
Nov 4, 2026
Merged

df49b9cd merged 1 commit into
mainfrom
ci/dmg-license-prompt

Conversation

@df49b9cd

@df49b9cd df49b9cd commented Nov 4, 2026

Copy link
Copy Markdown
Owner

bundle-macos has failed in "Verify the bundle" on every run since the release pipeline landed (#9), so the release job never ran and tag builds could not publish anything — the Flatpak included.

Cause. bundle.licenseFile makes tauri-bundler pass --eula to create-dmg, embedding the GPL as the dmg's license agreement. hdiutil attach shows that agreement and waits for acceptance; with no TTY it cancels (hdiutil: attach canceled), after hdiutil verify had already reported the image VALID.

Fix. Feed the prompt: yes | PAGER=cat hdiutil attach …. The shipped dmg is unchanged — users still see the GPL agreement on open.

Verified on a manual run of the identical commit on refactor/review-fixes (run 41823387567): all jobs green. With the mount working, the step's later checks ran for the first time and pass — the executable links only /usr/lib and /System/Library, and codesign --verify --deep --strict succeeds (ad-hoc, hardened runtime).

Not covered: the release job itself only runs on a v* tag.

bundle.licenseFile makes tauri-bundler embed the GPL as the dmg's license
agreement; with no TTY, hdiutil attach cancels at that prompt, so
"Verify the bundle" has failed on every run and the release job never ran.
@df49b9cd
df49b9cd merged commit 852415a into main Nov 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant