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(

View File

@@ -15,29 +15,21 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do
## Android
### android test
### android deploy_testing
```sh
[bundle exec] fastlane android test
[bundle exec] fastlane android deploy_testing
```
Runs all the tests
Deploy a new version as a preview version
### android closed_testing
### android deploy_release
```sh
[bundle exec] fastlane android closed_testing
[bundle exec] fastlane android deploy_release
```
Submit a new build to the closed testing lane
### android deploy
```sh
[bundle exec] fastlane android deploy
```
Deploy a new version to the Google Play
Deploy a new version as a full release
----

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="fastlane.lanes">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000594355">
</testcase>
<testcase classname="fastlane.lanes" name="1: bundle" time="11.355126485">
</testcase>
<testcase classname="fastlane.lanes" name="2: upload_to_play_store" time="63.414149183">
</testcase>
</testsuite>
</testsuites>