mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Upgrade fastlane
This commit is contained in:
@@ -17,11 +17,11 @@ platform :android do
|
|||||||
gradle(task: "test")
|
gradle(task: "test")
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Build a new Beta version"
|
desc "Build a new Free Beta version"
|
||||||
lane :build_beta_google_free do |options|
|
lane :build_beta_free do |options|
|
||||||
gradle(
|
gradle(
|
||||||
task: "assemble",
|
task: "assemble",
|
||||||
flavor: "free_google",
|
flavor: "free",
|
||||||
build_type: "Release",
|
build_type: "Release",
|
||||||
print_command: false,
|
print_command: false,
|
||||||
properties: {
|
properties: {
|
||||||
@@ -33,14 +33,45 @@ platform :android do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Deploy a new Beta version to the Google Play"
|
desc "Build a new Pro Beta version"
|
||||||
|
lane :build_beta_pro do |options|
|
||||||
|
gradle(
|
||||||
|
task: "assemble",
|
||||||
|
flavor: "pro",
|
||||||
|
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 Free Beta version to the Google Play"
|
||||||
lane :deploy_beta_google_free do
|
lane :deploy_beta_google_free do
|
||||||
upload_to_play_store(
|
upload_to_play_store(
|
||||||
track: "beta",
|
track: "beta",
|
||||||
skip_upload_metadata: "false",
|
skip_upload_metadata: "false",
|
||||||
skip_upload_images: "true",
|
skip_upload_images: "true",
|
||||||
skip_upload_screenshots: "false",
|
skip_upload_screenshots: "false",
|
||||||
apk: "./app/build/outputs/apk/free_google/release/app-free_google-release.apk",
|
apk: "./app/build/outputs/apk/free_google/release/app-free-release.apk",
|
||||||
|
validate_only: "false",
|
||||||
|
)
|
||||||
|
gradle(
|
||||||
|
task: 'clean'
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
desc "Deploy a new Pro Beta version to the Google Play"
|
||||||
|
lane :deploy_beta_google_pro do
|
||||||
|
upload_to_play_store(
|
||||||
|
track: "beta",
|
||||||
|
skip_upload_metadata: "true",
|
||||||
|
skip_upload_images: "true",
|
||||||
|
skip_upload_screenshots: "true",
|
||||||
|
apk: "./app/build/outputs/apk/free_google/release/app-pro-release.apk",
|
||||||
validate_only: "false",
|
validate_only: "false",
|
||||||
)
|
)
|
||||||
gradle(
|
gradle(
|
||||||
|
|||||||
@@ -11,18 +11,29 @@ or alternatively using `brew cask install fastlane`
|
|||||||
# Available Actions
|
# Available Actions
|
||||||
## Android
|
## Android
|
||||||
```
|
```
|
||||||
fastlane tests
|
fastlane android tests
|
||||||
```
|
```
|
||||||
Runs all the tests
|
Runs all the tests
|
||||||
|
### android build_beta_free
|
||||||
```
|
```
|
||||||
fastlane build_beta_google_free storefile:"" storepass:"" keyalias:"" keypass:""
|
fastlane android build_beta_free
|
||||||
```
|
```
|
||||||
Build a new Beta version
|
Build a new Free Beta version
|
||||||
|
### android build_beta_pro
|
||||||
```
|
```
|
||||||
fastlane deploy_beta_google_free
|
fastlane android build_beta_pro
|
||||||
```
|
```
|
||||||
Deploy a new Beta version to the Google Play
|
Build a new Pro Beta version
|
||||||
|
### android deploy_beta_google_free
|
||||||
|
```
|
||||||
|
fastlane android deploy_beta_google_free
|
||||||
|
```
|
||||||
|
Deploy a new Free Beta version to the Google Play
|
||||||
|
### android deploy_beta_google_pro
|
||||||
|
```
|
||||||
|
fastlane android deploy_beta_google_pro
|
||||||
|
```
|
||||||
|
Deploy a new Pro Beta version to the Google Play
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user