Skip to content

ci: distribute macOS build as DMG instead of ZIP - #2706

Merged
AucaCoyan merged 1 commit into
espanso:devfrom
LeonidasZhak:codex/fix-macos-dmg-packaging
Jul 18, 2026
Merged

AucaCoyan merged 1 commit into
espanso:devfrom
LeonidasZhak:codex/fix-macos-dmg-packaging

Conversation

@LeonidasZhak

Copy link
Copy Markdown
Contributor

Summary

Changes the macOS release artifact from a ZIP-wrapped DMG to a plain DMG file.

Problem

Currently the macOS build creates a ZIP archive of the .app bundle, but macOS users expect a DMG for app distribution. The ZIP wrapping is unnecessary and non-standard.

Solution

  • Replace ditto -c -k (ZIP) with hdiutil create (DMG) in the release workflow
  • Enable the upload step that was previously commented out

Changes

.github/workflows/create-release-draft.yml:

  • Create DMG using hdiutil create -format UDZO (compressed DMG)
  • Upload DMG directly to GitHub Releases

Fixes #2624

Replace the ZIP archive with a DMG for macOS distribution.
The DMG format is standard for macOS app distribution and
avoids the double-packaging (DMG wrapped in ZIP).

Fixes espanso#2624
@LeonidasZhak
LeonidasZhak requested a review from Archigos as a code owner June 4, 2026 02:55
@AucaCoyan

Copy link
Copy Markdown
Collaborator

Thank you! Very much appreciated!

@AucaCoyan
AucaCoyan merged commit e3f96a2 into espanso:dev Jul 18, 2026
AucaCoyan pushed a commit to Zettt/espanso that referenced this pull request Jul 19, 2026
Replace the ZIP archive with a DMG for macOS distribution.
The DMG format is standard for macOS app distribution and
avoids the double-packaging (DMG wrapped in ZIP).

Fixes espanso#2624
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.

Mac distribution as DMG, not DMG wrapped in ZIP

2 participants