From 0c740eb5ff2ea7911e2a5d2d7a9c52a652566d35 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Mon, 28 Apr 2025 14:12:17 +0200 Subject: [PATCH] revert to macos style sed --- .gitea/workflows/workflow_build-app-ios.yaml | 4 ++-- frontend/ios/fastlane/Fastfile | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/workflow_build-app-ios.yaml b/.gitea/workflows/workflow_build-app-ios.yaml index f5b975f..5eea161 100644 --- a/.gitea/workflows/workflow_build-app-ios.yaml +++ b/.gitea/workflows/workflow_build-app-ios.yaml @@ -73,9 +73,9 @@ jobs: MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }} - name: Replace API Key from secret - # even though the runner is macOS, the sed command is run in a Linux container + # on a macOS runner, sed requires a replacement suffix after the -i flag run: | - sed -i -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift + sed -i '' -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift - name: Test flutter run: | diff --git a/frontend/ios/fastlane/Fastfile b/frontend/ios/fastlane/Fastfile index 4703261..329285f 100644 --- a/frontend/ios/fastlane/Fastfile +++ b/frontend/ios/fastlane/Fastfile @@ -32,6 +32,7 @@ platform :ios do "flutter", "build", "ipa", + "--release", "--build-name=#{build_name}", "--build-number=#{build_number}", ) @@ -66,6 +67,7 @@ platform :ios do "flutter", "build", "ipa", + "--release", "--build-name=#{build_name}", "--build-number=#{build_number}", )