Create and upload a DMG
This commit is contained in:
parent
8297f2a941
commit
2dc1176486
2 changed files with 5 additions and 4 deletions
|
@ -2,13 +2,14 @@
|
|||
|
||||
set -e
|
||||
|
||||
pushd zed
|
||||
pushd zed > /dev/null
|
||||
cargo bundle --release
|
||||
popd
|
||||
popd > /dev/null
|
||||
hdiutil create -volname Zed -srcfolder target/release/bundle/osx -ov -format UDZO target/release/bundle/Zed.dmg
|
||||
|
||||
while getopts o flag
|
||||
do
|
||||
case "${flag}" in
|
||||
o) open target/release/bundle/osx;;
|
||||
o) open target/release/bundle;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue