Update fastlane script

This commit is contained in:
J-Jamet
2018-02-01 02:53:05 +01:00
parent d430305eb1
commit 8bd32e6605

View File

@@ -18,19 +18,29 @@ platform :android do
end
desc "Build a new Beta version"
lane :build_beta_google_free do
lane :build_beta_google_free do |options|
gradle(
task: "assemble",
flavor: "free_google",
build_type: "Release"
task: "assemble",
flavor: "free_google",
build_type: "Release",
print_command: false,
properties: {
"android.injected.signing.store.file" => options[:storefile],
"android.injected.signing.store.password" => options[:storepass],
"android.injected.signing.key.alias" => options[:keyalias],
"android.injected.signing.key.password" => options[:keypass],
}
)
end
desc "Deploy a new Beta version to the Google Play"
lane :deploy_beta_google_free do
lane :deploy_beta_google_free do
upload_to_play_store(
track: "beta"
track: "beta",
skip_upload_metadata: "false",
skip_upload_images: "true",
skip_upload_screenshots: "false",
validate_only: "true",
)
end
end