mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Create and upload a DMG
This commit is contained in:
parent
8297f2a941
commit
2dc1176486
2 changed files with 5 additions and 4 deletions
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 a new issue