@@ -123,8 +123,8 @@ workflows:
123123 # submit_to_app_store: false
124124 google_play :
125125 credentials : $GCLOUD_SERVICE_ACCOUNT_CREDENTIALS
126- track : internal
127- submit_as_draft : true
126+ track : internal # Android internal testing
127+ submit_as_draft : false
128128 email :
129129 recipients :
130130 - tamdin@esukhia.org
@@ -133,10 +133,10 @@ workflows:
133133 failure : true
134134
135135 # ===========================================================================
136- # STAGING (org.pecha.app.staging)
136+ # DEV (org.pecha.app.dev) — build + distribute to internal testing
137137 # ===========================================================================
138- staging -release :
139- name : Staging • iOS + Android
138+ dev -release :
139+ name : Dev • iOS TestFlight + Android internal
140140 << : *instance
141141 environment :
142142 << : *cache
@@ -150,65 +150,14 @@ workflows:
150150 android_signing :
151151 - webuddhist_keystore
152152 ios_signing :
153- distribution_type : app_store
154- bundle_identifier : org.pecha.app.staging
155- vars :
156- APP_FLAVOR : staging
157- APP_ENTRYPOINT : lib/main_staging.dart
158- triggering :
159- events :
160- - push
161- branch_patterns :
162- - pattern : staging
163- include : true
164- scripts :
165- - *pub_get
166- - *pod_install
167- - *flutter_doctor
168- - *set_ios_profiles
169- - name : Build Android App Bundle
170- script : |
171- flutter build appbundle --release \
172- --flavor "$APP_FLAVOR" -t "$APP_ENTRYPOINT"
173- - name : Build iOS IPA
174- script : |
175- flutter build ipa --release \
176- --flavor "$APP_FLAVOR" -t "$APP_ENTRYPOINT" \
177- --export-options-plist=$HOME/export_options.plist
178- artifacts : *artifacts
179- publishing :
180- app_store_connect :
181- auth : integration
182- submit_to_testflight : true
183- email :
184- recipients :
185- - tamdin@esukhia.org
186-
187- # ===========================================================================
188- # DEV (org.pecha.app.dev) — fast feedback, no store upload
189- # ===========================================================================
190- dev-debug :
191- name : Dev • build + test
192- << : *instance
193- environment :
194- << : *cache
195- flutter : stable
196- xcode : latest
197- cocoapods : default
198- groups :
199- - app_secrets
200- android_signing :
201- - webuddhist_keystore
202- ios_signing :
203- distribution_type : development
153+ distribution_type : app_store # required for TestFlight uploads
204154 bundle_identifier : org.pecha.app.dev
205155 vars :
206156 APP_FLAVOR : dev
207157 APP_ENTRYPOINT : lib/main_dev.dart
208158 triggering :
209159 events :
210160 - push
211- - pull_request
212161 branch_patterns :
213162 - pattern : develop
214163 include : true
@@ -226,15 +175,23 @@ workflows:
226175 script : |
227176 flutter build appbundle --release \
228177 --flavor "$APP_FLAVOR" -t "$APP_ENTRYPOINT"
229- - name : Build iOS (dev, no codesign archive )
178+ - name : Build iOS IPA (dev)
230179 script : |
231- flutter build ios --release --no-codesign \
232- --flavor "$APP_FLAVOR" -t "$APP_ENTRYPOINT"
180+ flutter build ipa --release \
181+ --flavor "$APP_FLAVOR" -t "$APP_ENTRYPOINT" \
182+ --export-options-plist=$HOME/export_options.plist
233183 artifacts : *artifacts
234184 publishing :
185+ app_store_connect :
186+ auth : integration
187+ submit_to_testflight : true # iOS internal testing
188+ google_play :
189+ credentials : $GCLOUD_SERVICE_ACCOUNT_CREDENTIALS
190+ track : internal # Android internal testing
191+ submit_as_draft : false
235192 email :
236193 recipients :
237194 - tamdin@esukhia.org
238195 notify :
239- success : false
196+ success : true
240197 failure : true
0 commit comments