Repository navigation
fix(packaging): give hdiutil an explicit .dmg size - #15
Merged
Merged
Conversation
The v0.1.0 tag build failed twice on the osx-x64 .dmg with "No space left on device" while hdiutil copied the executable into the image it had sized from -srcfolder itself. The arm64 build of the same script passed. The script now measures the staged app and passes -size with 50 % plus 20 MB of headroom. UDZO compresses the finished .dmg back down to its content. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Thomas Müller <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
v0.1.0tag build failed on the osx-x64.dmg, twice (the failed job was re-run once):The arm64 build of the same script passed.
hdiutil create -srcfoldersizes the image on its own, and for the x64 app it came up short. Because the macOS job failed, thereleasejob was skipped and nothing was published.Changes
packaging/macos/build-dmg.shmeasures the stagedFreizeichen.appwithduand passes-sizewith 50 % plus 20 MB of headroom. UDZO compression shrinks the finished.dmgback down to its content.Verification
release.ymlon this branch (run 40495931756) passed every job. The artifacts were Windows MSI 58 MB, macOS x64 49 MB and macOS arm64 46 MB.After merge,
v0.1.0has to be re-tagged on the newmain, because the workflow builds from the tagged commit.🤖 Generated with Claude Code