From 5a6baca97aa834ff930ee5db11f96a45a553dc3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole-Andr=C3=A9=20Rodlie?= Date: Thu, 24 Mar 2022 19:44:47 +0100 Subject: [PATCH] Update release.sh --- res/release.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/res/release.sh b/res/release.sh index 25b1bbc..94af095 100755 --- a/res/release.sh +++ b/res/release.sh @@ -121,8 +121,10 @@ fi echo "Licenses for included open-source software.\n\nSource code :\n\nhttps://github.com/rodlie/cyan/releases/download/continuous/cyan-sdk-src-${CI}.tar\nhttps://github.com/rodlie/cyan/releases/download/continuous/cyan-mxe-${CI}.tar.xz" > ${ZIP_DIR}/legal/README.TXT EXT=zip - -if [ "${OS}" = "Darwin" ]; then +if [ "${OS}" = "Linux" ]; then + EXT=tgz + tar czf ${ZIP_DIR}.${EXT} ${ZIP_DIR} +elif [ "${OS}" = "Darwin" ]; then EXT=dmg hdiutil create -volname "Cyan $VERSION" -srcfolder ${ZIP_DIR} -ov -format UDBZ ${ZIP_DIR}.${EXT} else