Some more pipeline-fixes (#46)
Some checks failed
/ push-to-remote (push) Successful in 13s
Build and deploy the backend to production / Deploy to production (push) Has been cancelled
Build and deploy the backend to production / Build and push image (push) Has been cancelled

Reviewed-on: #46
This commit is contained in:
2024-12-21 15:54:04 +00:00
parent a59029c809
commit e764393706
6 changed files with 43 additions and 24 deletions

View File

@@ -33,7 +33,7 @@ platform :ios do
"flutter",
"build",
"ipa",
"--release",
"--debug",
"--build-name=#{build_name}",
"--build-number=#{build_number}",
)
@@ -44,7 +44,9 @@ platform :ios do
archive_path: "../build/ios/archive/Runner.xcarchive"
)
upload_to_testflight
upload_to_testflight(
skip_waiting_for_build_processing: true,
)
end
@@ -62,6 +64,16 @@ platform :ios do
readonly: true,
)
# replace secrets by real values, the stupid way
sh(
"sed",
"-i",
"",
"s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g",
"../Runner/AppDelegate.swift"
)
sh(
"flutter",
"build",