CI: fix split commands
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
10c98c2268
commit
2c54c51fdb
1 changed files with 2 additions and 11 deletions
13
.drone.yml
13
.drone.yml
|
@ -32,17 +32,8 @@ steps:
|
|||
- cargo install cargo-bundle
|
||||
- cargo bundle --release
|
||||
- mv target/release/bundle/osx/receiver.app ./receiver.app
|
||||
- brew install create-dmg
|
||||
- create-dmg \
|
||||
--volname "ok-ready-go-receiver" \
|
||||
--window-pos 200 120 \
|
||||
--window-size 800 400 \
|
||||
--icon-size 100 \
|
||||
--icon "receiver.app" 200 190 \
|
||||
--hide-extension "receiver.app" \
|
||||
--app-drop-link 600 185 \
|
||||
"receiver-macos.dmg" \
|
||||
"./"
|
||||
- hdiutil create ./receiver-macos-tmp.dmg -ov -volname "ok-ready-go-receiver" -fs HFS+ -srcfolder "target/release/bundle/osx/"
|
||||
- hdiutil convert ./receiver-macos-tmp.dmg -format UDZO -o ./receiver-macos.dmg
|
||||
- name: upload
|
||||
environment:
|
||||
GITEA_USER:
|
||||
|
|
Loading…
Reference in a new issue