parent
e830e24d36
commit
f0a9cd52c9
|
@ -28,6 +28,7 @@ pipeline:
|
|||
|
||||
build:
|
||||
image: nathansamson/flutter-builder-docker:v0.6.0
|
||||
group: build
|
||||
pull: true
|
||||
commands:
|
||||
- export PATH=/Users/macosvm/flutter/bin:$PATH
|
||||
|
@ -40,6 +41,7 @@ pipeline:
|
|||
|
||||
build_ios:
|
||||
image: appleboy/drone-ssh
|
||||
group: build
|
||||
host: home.jonasfranz.software
|
||||
port: 1413
|
||||
secrets: [ ssh_username, ssh_key ]
|
||||
|
@ -47,8 +49,6 @@ pipeline:
|
|||
- cd /tmp/drone_build_${DRONE_BUILD_NUMBER}
|
||||
- flutter packages get
|
||||
- make build-ios-all
|
||||
- mkdir ipas
|
||||
- mv build/app/out
|
||||
when:
|
||||
event: [ push, tag]
|
||||
|
||||
|
|
8
Makefile
8
Makefile
|
@ -34,12 +34,14 @@ build-ios-all: build-ios-release build-ios-debug build-ios-profile
|
|||
|
||||
.PHONY: build-ios-release
|
||||
build-ios-release:
|
||||
flutter build ios --release --build-name=$(VERSION)
|
||||
flutter build ios --release --build-name=$(VERSION) --no-codesign
|
||||
|
||||
.PHONY: build-ios-debug
|
||||
build-ios-debug:
|
||||
flutter build ios --debug --build-name=$(VERSION)
|
||||
flutter build ios --debug --build-name=$(VERSION) --no-codesign
|
||||
mv build/ios/iphoneos/Runner.app build/ios/iphoneos/Runner-debug.app
|
||||
|
||||
.PHONY: build-ios-profile
|
||||
build-ios-profile:
|
||||
flutter build ios --profile --build-name=$(VERSION)
|
||||
flutter build ios --profile --build-name=$(VERSION) --no-codesign
|
||||
mv build/ios/iphoneos/Runner.app build/ios/iphoneos/Runner-profile.app
|
Reference in New Issue
Block a user