From 2c54c51fdb86c22caf7ec61daa23b63152e140bf Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sat, 18 Feb 2023 11:23:31 +0100 Subject: [PATCH] CI: fix split commands --- .drone.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4a65e32..97c20f5 100644 --- a/.drone.yml +++ b/.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: