mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 02:45:53 +03:00
ca2cfbfd5c
Change-Id: I49255442b53125bd6e94187df24225efa4d2c866
64 lines
1.8 KiB
Ruby
64 lines
1.8 KiB
Ruby
# This file contains the fastlane.tools configuration
|
|
# You can find the documentation at https://docs.fastlane.tools
|
|
#
|
|
# For a list of all available actions, check out
|
|
#
|
|
# https://docs.fastlane.tools/actions
|
|
#
|
|
# For a list of all available plugins, check out
|
|
#
|
|
# https://docs.fastlane.tools/plugins/available-plugins
|
|
#
|
|
|
|
# Uncomment the line if you want fastlane to automatically update itself
|
|
# update_fastlane
|
|
|
|
default_platform(:android)
|
|
|
|
platform :android do
|
|
keystore = ENV["keystore"]
|
|
keystore_pass = ENV["keystorepass"]
|
|
key_alias = ENV["keyalias"]
|
|
key_pass = ENV["keypass"]
|
|
|
|
desc "Runs all the tests"
|
|
lane :test do
|
|
gradle(task: "test")
|
|
end
|
|
|
|
desc "Deploy a new version to Google Play"
|
|
lane :deploy do
|
|
gradle(
|
|
task: "clean bundleGplayRelease",
|
|
properties: {
|
|
"android.injected.signing.store.file": keystore,
|
|
"android.injected.signing.store.password": keystore_pass,
|
|
"android.injected.signing.key.alias": key_alias,
|
|
"android.injected.signing.key.password": key_pass
|
|
}
|
|
)
|
|
upload_to_play_store(
|
|
# apk: lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
|
|
)
|
|
end
|
|
|
|
desc "Deploy a beta to Google Play"
|
|
lane :deploy_beta do
|
|
gradle(
|
|
task: "clean bundleGplayRelease",
|
|
properties: {
|
|
"android.injected.signing.store.file": keystore,
|
|
"android.injected.signing.store.password": keystore_pass,
|
|
"android.injected.signing.key.alias": key_alias,
|
|
"android.injected.signing.key.password": key_pass
|
|
}
|
|
)
|
|
upload_to_play_store(
|
|
# apk: lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
|
|
track: 'beta',
|
|
skip_upload_metadata: false,
|
|
skip_upload_images: true,
|
|
skip_upload_screenshots: true
|
|
)
|
|
end
|
|
end
|