From be781de7112d88e88acc0effe202d4dcdf3235ab Mon Sep 17 00:00:00 2001 From: kozlek Date: Sat, 26 Aug 2017 12:47:14 +0300 Subject: [PATCH] Build only binaries image --- Scripts/BuildImage.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Scripts/BuildImage.sh b/Scripts/BuildImage.sh index 0afc1413..7f19d2f8 100644 --- a/Scripts/BuildImage.sh +++ b/Scripts/BuildImage.sh @@ -34,18 +34,4 @@ hdiutil detach "/Volumes/${bin_volumename}" hdiutil convert ./Binaries/TEMP.${bin_filename} -format UDZO -imagekey zlib-level=9 -o ./Binaries/${bin_filename} rm ./Binaries/TEMP.${bin_filename} -# compressed update -dmg_filename=${project_name}.${full_version}.Update.dmg -dmg_volumename=${project_name}" v"${full_version} -hdiutil create -megabytes 10 -fs HFS+ -volname "${dmg_volumename}" ./Binaries/TEMP.${dmg_filename} -hdiutil attach ./Binaries/TEMP.${dmg_filename} -readwrite -mount required - -cp ./Binaries/${project_name}.${full_version}.pkg "/Volumes/${dmg_volumename}/HWMonitor.pkg" - -hdiutil detach "/Volumes/${dmg_volumename}" -hdiutil convert ./Binaries/TEMP.${dmg_filename} -format UDZO -imagekey zlib-level=9 -o ./Binaries/${dmg_filename} -rm ./Binaries/TEMP.${dmg_filename} -openssl="/usr/bin/openssl" -dsa_signature=$(${openssl} dgst -sha1 -binary < ./Binaries/${dmg_filename} | ${openssl} dgst -dss1 -sign ./Appcast/dsa_priv.pem | ${openssl} enc -base64) -echo ${dsa_signature} > ./Binaries/${dmg_filename}.sha1