Skip to content

Commit

Permalink
fix: corrected DMG creation process
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxbrian committed Jul 9, 2024
1 parent 6ff8c58 commit f1fd550
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
with:
product-path: "./target/release/osx/Alacritty.app"
- name: Make DMG
run: make dmg-universal-exist
run: make dmg-universal
- name: Upload Application
run: |
mv ./target/release/osx/Alacritty.dmg ./Alacritty-${GITHUB_REF##*/}.dmg
Expand Down
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,6 @@ $(DMG_NAME)-%: $(APP_NAME)-%
-ov -format UDZO
@echo "Packed '$(APP_NAME)' in '$(APP_DIR)'"

dmg-universal-exist:
$(DMG_NAME)-%: $(APP_NAME)-%
@echo "Packing disk image..."
@ln -sf /Applications $(DMG_DIR)/Applications
@hdiutil create $(DMG_DIR)/$(DMG_NAME) \
-volname "Alacritty" \
-fs HFS+ \
-srcfolder $(APP_DIR) \
-ov -format UDZO
@echo "Packed '$(APP_NAME)' in '$(APP_DIR)'"

install: $(INSTALL)-native ## Mount disk image
install-universal: $(INSTALL)-native ## Mount universal disk image
$(INSTALL)-%: $(DMG_NAME)-%
Expand Down

0 comments on commit f1fd550

Please sign in to comment.