From a74a38b9deb8b69ff1e8bf284cf10ad988a18c98 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 25 Jun 2023 09:40:07 -0700 Subject: [PATCH] ci: release process must preserve symlinks The code signature on mac builds uses the symlink so we have to preserve it --- .github/workflows/release-tip.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-tip.yml b/.github/workflows/release-tip.yml index 2c971a301..8a4059470 100644 --- a/.github/workflows/release-tip.yml +++ b/.github/workflows/release-tip.yml @@ -105,7 +105,7 @@ jobs: /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $build" "macos/build/Release/Ghostty.app/Contents/Info.plist" - name: Zip Unsigned App - run: nix develop -c sh -c 'cd macos/build/Release && zip -9 -r ../../../ghostty-macos-universal-unsigned.zip Ghostty.app' + run: nix develop -c sh -c 'cd macos/build/Release && zip -9 -r --symlinks ../../../ghostty-macos-universal-unsigned.zip Ghostty.app' # Update Release - name: Release Unsigned @@ -170,7 +170,7 @@ jobs: # Zip up the app - name: Zip App - run: cd macos/build/Release && zip -9 -r ../../../ghostty-macos-universal.zip Ghostty.app + run: cd macos/build/Release && zip -9 -r --symlinks ../../../ghostty-macos-universal.zip Ghostty.app # Update Release - name: Release