Commit c0ea5a8e authored by Roman Haefeli's avatar Roman Haefeli
Browse files

compress resulting image with dmg command

parent 0baf6b52
......@@ -87,7 +87,9 @@ function fail {
cp files/README.txt "${work_dir}" || fail
# create disk image
genisoimage -quiet -V "${app_name}-${app_version}" -D -R -apple -no-pad -o "${app_name}-${app_version}_macos_${package_version}.dmg" "${work_dir}" || fail
genisoimage -quiet -V "${app_name}-${app_version}" -D -R -apple -no-pad -o "${app_name}-${app_version}_macos_${package_version}.iso" "${work_dir}" || fail
dmg "${app_name}-${app_version}_macos_${package_version}.iso" "${app_name}-${app_version}_macos_${package_version}.dmg" || fail
rm "${app_name}-${app_version}_macos_${package_version}.iso" || fail
# put file online
scp -q "${app_name}-${app_version}_macos_${package_version}.dmg" "" || fail
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment