From 218ee84b9dc722d20c4662f16ec5ec68cefc6e09 Mon Sep 17 00:00:00 2001 From: Sk Niyaj Ali Date: Mon, 23 Dec 2024 21:24:12 +0530 Subject: [PATCH] chore: Update Fastfile and build workflow - Updated the Fastfile to use keyword arguments for better readability. - Changed the build workflow to run on macOS latest instead of Ubuntu latest. --- fastlane/FastFile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fastlane/FastFile b/fastlane/FastFile index 55f3491a6..c9c999bca 100644 --- a/fastlane/FastFile +++ b/fastlane/FastFile @@ -44,8 +44,8 @@ platform :android do desc "Publish Release Play Store artifacts to Firebase App Distribution" lane :deploy_on_firebase do |options| - options[:apkFile] || = "mifospay-android/build/outputs/apk/prod/release/mifospay-android-prod-release.apk" - options[:serviceCredsFile] || = "secrets/firebaseAppDistributionServiceCredentialsFile.json" + options[:apkFile] ||= "mifospay-android/build/outputs/apk/prod/release/mifospay-android-prod-release.apk" + options[:serviceCredsFile] ||= "secrets/firebaseAppDistributionServiceCredentialsFile.json" # Generate Release Note releaseNotes = misc.generateReleaseNotes( @@ -65,7 +65,7 @@ platform :android do desc "Deploy internal tracks to Google Play" lane :deploy_internal do |options| - options[:aabFile] || = "mifospay-android/build/outputs/bundle/prod/release/mifospay-android-prod-release.aab" + options[:aabFile] ||= "mifospay-android/build/outputs/bundle/prod/release/mifospay-android-prod-release.aab" upload_to_play_store( track: 'internal', aab: options[:aabFile], @@ -99,7 +99,7 @@ platform :android do desc "Generate artifacts for the given [build] signed with the provided [keystore] and credentials." private_lane :buildAndSignApp do |options| - options[:storeFile] || = "secrets/release_keystore.keystore" + options[:storeFile] ||= "secrets/release_keystore.keystore" gradle( task: options[:taskName], @@ -121,7 +121,7 @@ platform :ios do desc "Build iOS application" lane :build_ios do |options| # Set default configuration if not provided - options[:configuration] || = "Debug" + options[:configuration] ||= "Debug" # automatic code signing update_code_signing_settings( @@ -150,7 +150,7 @@ platform :ios do desc "Upload iOS application to Firebase App Distribution" lane :deploy_on_firebase do |options| - options[:serviceCredsFile] || = "secrets/firebaseAppDistributionServiceCredentialsFile.json" + options[:serviceCredsFile] ||= "secrets/firebaseAppDistributionServiceCredentialsFile.json" releaseNotes = misc.generateReleaseNotes( repoName: "mobile-wallet-testing",