Skip to content

Commit

Permalink
Update release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Mar 24, 2022
1 parent dfdcae0 commit 5a6baca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions res/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a6baca

Please sign in to comment.