Skip to content

Commit 67d82c4

Browse files
author
Artur
committed
Actions: use ditto instead of zip to package app
With the introduction of the Sparkle Project for auto updates, the packaging process has to be changed to preserve symlinks. Zip destroys them resulting in a broken code signature. Ditto aisms to fix this problem.
1 parent 2ba33a1 commit 67d82c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/archive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fi
3333
echo "Signature is correct. Packing app."
3434

3535
cd $BUILD_PATH/
36-
zip -r "$APP_NAME.zip" "$APP_NAME"
36+
ditto -c -k --sequesterRsrc --keepParent "$APP_NAME" "$APP_NAME.zip"
3737

3838
mv "$APP_NAME.zip" ../
3939

0 commit comments

Comments
 (0)