6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 4e6c88ba

AuthorMikkel Thygesen<mikkelet@gmail.com>
Date2026-03-05 10:45:11 +0100
Devops: updated pipeline

Changed files

azure/templates/build-ios.yml | 8 ++++----
 azure/templates/env-vars.yml  | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

Diff

diff --git a/azure/templates/build-ios.yml b/azure/templates/build-ios.yml
index df83456e..167d7f27 100644
--- a/azure/templates/build-ios.yml
+++ b/azure/templates/build-ios.yml
@@ -20,7 +20,7 @@ steps:
displayName: Install Apple Certificate
inputs:
certSecureFile: 'comwell_distribution.p12'
- certPwd: 'comwell1234'
+ certPwd: $(cert_pw)
keychain: 'temp'
# Install Apple provisioning profile
@@ -55,19 +55,19 @@ steps:
- script: |
cd comwell_key_app
- flutter build ipa --flavor stage --release --no-codesign
+ flutter build ipa --flavor $(flavor) --release --no-codesign
displayName: "Build IPA"
- script: |
cd comwell_key_app
- xcodebuild -workspace ios/Runner.xcworkspace -scheme Stage -archivePath build/ios/archive/Runner.xcarchive archive
+ xcodebuild -workspace ios/Runner.xcworkspace -scheme $(iosScheme) -archivePath build/ios/archive/Runner.xcarchive archive
displayName: "Archive"
- script: |
cd comwell_key_app
xcodebuild -exportArchive \
-archivePath build/ios/archive/Runner.xcarchive \
- -exportOptionsPlist ios/ExportOptionsStage.plist \
+ -exportOptionsPlist ios/$(iosExportOptionsPlist) \
-exportPath output
displayName: "Export"
diff --git a/azure/templates/env-vars.yml b/azure/templates/env-vars.yml
index bcd78483..e4541e63 100644
--- a/azure/templates/env-vars.yml
+++ b/azure/templates/env-vars.yml
@@ -20,11 +20,11 @@ variables:
value: 'com.comwell.phoenix.dev'
- name: flavor
${{ if eq(parameters.env, 'production') }}:
- value: 'Prod'
+ value: 'prod'
${{ if eq(parameters.env, 'staging') }}:
- value: 'Stage'
+ value: 'stage'
${{ if eq(parameters.env, 'develop') }}:
- value: 'Develop'
+ value: 'develop'
# iOS
- name: iosBundleId
${{ if eq(parameters.env, 'production') }}: