mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Create and upload a DMG
This commit is contained in:
parent
8297f2a941
commit
2dc1176486
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -50,4 +50,4 @@ jobs:
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Zed.app
|
||||
path: target/release/bundle/osx/Zed.app
|
||||
path: target/release/bundle/Zed.dmg
|
||||
|
@ -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…
Reference in New Issue
Block a user