Skip to content

Commit

Permalink
Use flutter release command in fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
burhanrashid52 committed Jul 20, 2024
1 parent d654152 commit e60daa4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ default_platform(:android)
platform :android do
desc "Deploy a new version to the Google Play"
lane :beta do
gradle(task: "clean assembleRelease")
sh "flutter build apk --release"
upload_to_play_store(
apk: "../build/app/outputs/flutter-apk/app-release.apk",
)
Expand Down
9 changes: 3 additions & 6 deletions android/fastlane/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,14 @@



<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000376">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000352">

</testcase>


<testcase classname="fastlane.lanes" name="1: clean assembleRelease" time="16.273337">
<testcase classname="fastlane.lanes" name="1: clean" time="0.000372">

</testcase>


<testcase classname="fastlane.lanes" name="2: upload_to_play_store" time="61.351414">
<failure message="/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/actions/actions_helper.rb:67:in `execute_action&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/runner.rb:229:in `chdir&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/runner.rb:229:in `execute_action&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing&apos;&#10;Fastfile:21:in `block (2 levels) in parsing_binding&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/lane.rb:41:in `call&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/runner.rb:45:in `chdir&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/runner.rb:45:in `execute&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/lane_manager.rb:46:in `cruise_lane&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/command_line_handler.rb:34:in `handle&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in `call&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in `run&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/commands_generator.rb:363:in `run&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/commands_generator.rb:43:in `start&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/gems/fastlane-2.221.1/bin/fastlane:23:in `&lt;top (required)&gt;&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/bin/fastlane:25:in `load&apos;&#10;/usr/local/Cellar/fastlane/2.220.0/libexec/bin/fastlane:25:in `&lt;main&gt;&apos;&#10;&#10;Couldn&apos;t find gradlew at path &apos;/Users/burhanuddinrashid/IdeaProjects/WhatTodo/android/gradlew&apos;" />

</testcase>

Expand Down

0 comments on commit e60daa4

Please sign in to comment.