fix remote repo pushing

This commit is contained in:
2024-09-18 17:04:21 +02:00
parent 205ec37764
commit 156661bfba
7 changed files with 220 additions and 79 deletions

View File

@@ -1,28 +1,16 @@
# 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
desc "Runs all the tests"
lane :test do
gradle(task: "test")
end
# desc "Runs all the tests"
# lane :test do
# gradle(task: "test")
# end
desc "Submit a new build to the closed testing lane"
lane :closed_testing do
desc "Deploy a new version as a preview version"
lane :deploy_testing do
gradle(
task: "bundle",
# flavor: "staging",
@@ -35,13 +23,13 @@ platform :android do
)
end
desc "Deploy a new release to the Google Play"
lane :deploy do
desc "Deploy a new version as a full release"
lane :deploy_release do
gradle(
task: "clean assembleRelease",
properties: {
# loaded from environment
android.injected.version.name: ENV["VERSION_NAME"],
"android.injected.version.name" => ENV["VERSION_NAME"],
}
)
upload_to_play_store(