CI: fix split commands
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Dorian Zedler 2023-02-18 11:23:31 +01:00
parent 10c98c2268
commit 2c54c51fdb
Signed by: dorian
GPG Key ID: 989DE36109AFA354
1 changed files with 2 additions and 11 deletions

View File

@ -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: