diff --git a/.drone.yml b/.drone.yml index 178a2c3..7fa23a7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,8 +48,6 @@ pipeline: - make build-ios-all - mkdir ipas - mv build/app/out - - cd .. - - rm -rf /tmp/drone_build_${DRONE_BUILD_NUMBER} when: event: [ push, tag] @@ -81,3 +79,14 @@ pipeline: when: event: [ push ] branch: [ master ] + + clean_ios: + image: appleboy/drone-ssh + host: home.jonasfranz.software + port: 1413 + secrets: [ ssh_username, ssh_key ] + script: + - rm -rf /tmp/drone_build_${DRONE_BUILD_NUMBER} + when: + status: [ failure, success ] + event: [ push, tag] \ No newline at end of file diff --git a/Makefile b/Makefile index 5f0f734..e1d7852 100644 --- a/Makefile +++ b/Makefile @@ -30,16 +30,16 @@ build-profile: flutter build apk --profile --build-name=$(VERSION) .PHONY: build-ios-all -build-all: build-ios-release build-ios-debug build-ios-profile +build-ios-all: build-ios-release build-ios-debug build-ios-profile .PHONY: build-ios-release -build-release: +build-ios-release: flutter build ios --release --build-name=$(VERSION) .PHONY: build-ios-debug -build-debug: +build-ios-debug: flutter build ios --debug --build-name=$(VERSION) .PHONY: build-ios-profile -build-profile: +build-ios-profile: flutter build ios --profile --build-name=$(VERSION) \ No newline at end of file