-
Notifications
You must be signed in to change notification settings - Fork 0
/
codemagic.yaml
65 lines (64 loc) · 1.99 KB
/
codemagic.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
workflows:
android:
name: Android workflow
environment:
android_signing:
- keystore_Romanytas
scripts:
- name: Get Flutter Packages
script: flutter packages pub get
- name: Build apk
script: flutter build apk --release
# - name: Set up key properties
# script: |
# cat >> "$CM_BUILD_DIR/android/key.properties" <<EOF
# storePassword=$CM_KEYSTORE_PASSWORD
# keyPassword=$CM_KEY_PASSWORD
# keyAlias=$CM_KEY_ALIAS
# storeFile=$CM_KEYSTORE_PATH
# EOF
artifacts:
- build/**/outputs/apk/**/*.apk
- build/**/outputs/**/*.aab
ios-method-1:
name: iOS Signing Method-1 Workflow
environment:
ios_signing:
distribution_type: app_store
bundle_identifier: com.mycompany.romanita
scripts:
- script: keychain initialize
- script: keychain add-certificates
- script: xcode-project use-profiles
- script: flutter packages pub get
- script: pod install --repo update
- name: Flutter Build IPA and Automatic Versioning
script: flutter build ipa --export-options-plist=/Users/builder/export_options.plist
artifacts:
- build/ios/ipa/*.ipa
publishing:
email:
recipients:
ios-method-2:
name: iOS Signing Method-2 Workflow
environment:
ios_signing:
provisioning_profiles:
- ProvProfile_Romanytas
certificates:
- Distribute_certificate
scripts:
- script: keychain initialize
- script: keychain add-certificates
- script: xcode-project use-profiles
- script: flutter packages pub get
- script: pod install --repo update
- name: Flutter Build IPA and Automatic Versioning
script: flutter build ipa --export-options-plist=/Users/builder/export_options.plist
artifacts:
- build/ios/ipa/*.ipa
publishing:
email:
recipients: