Skip to content

Commit

Permalink
Update Fastfile
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelcspeed committed Oct 27, 2024
1 parent f97a2ae commit 4f356ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ platform :ios do
team_id: ENV["DEVELOPER_PORTAL_TEAM_ID"],
git_basic_authorization: ENV["MATCH_GIT_TOKEN"]
)
sh("flutter pub get && flutter pub run huge_icons:generate && flutter clean && flutter build ios...")
sh("flutter pub get && flutter pub run huge_icons:generate && flutter clean && flutter build ios --release --dart-define-from-file=.prod.env")
end

desc "Deploy iOS app to App Store"
Expand All @@ -40,7 +40,7 @@ end
platform :android do
desc "Build Android app"
lane :build do
sh("flutter pub get && flutter pub run huge_icons:generate && flutter clean && flutter build apk...")
sh("flutter pub get && flutter pub run huge_icons:generate && flutter clean && flutter build apk --release --dart-define-from-file=.prod.env")
end

desc "Deploy Android app to Play Store"
Expand Down

0 comments on commit 4f356ae

Please sign in to comment.