fix: use flutter_build action instead of gradle action (#25)
This commit is contained in:
parent
4021345e0a
commit
fef6c75738
13
plugins/fastlane-plugin-android_cd/lib/fastlane/plugin/android_cd/actions/build_and_deploy_action.rb
13
plugins/fastlane-plugin-android_cd/lib/fastlane/plugin/android_cd/actions/build_and_deploy_action.rb
@ -20,18 +20,9 @@ module Fastlane
|
||||
# Clean the project before building
|
||||
other_action.gradle(task: "clean")
|
||||
|
||||
# Set the build number based on the number of commits
|
||||
build_number = other_action.number_of_commits
|
||||
|
||||
# Build the Android App Bundle
|
||||
other_action.gradle(
|
||||
task: "bundle",
|
||||
build_type: "Release",
|
||||
print_command: true,
|
||||
project_dir: './',
|
||||
properties: {
|
||||
"android.injected.version.code" => build_number
|
||||
}
|
||||
other_action.flutter_build(
|
||||
build: 'appbundle'
|
||||
)
|
||||
|
||||
UI.message("👉🏼 App built")
|
||||
|
Loading…
x
Reference in New Issue
Block a user