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")
|
||||
end
|
||||
|
||||
desc "Build a new Beta version"
|
||||
lane :build_beta_google_free do |options|
|
||||
desc "Build a new Free Beta version"
|
||||
lane :build_beta_free do |options|
|
||||
gradle(
|
||||
task: "assemble",
|
||||
flavor: "free_google",
|
||||
flavor: "free",
|
||||
build_type: "Release",
|
||||
print_command: false,
|
||||
properties: {
|
||||
@@ -33,14 +33,45 @@ platform :android do
|
||||
)
|
||||
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
|
||||
upload_to_play_store(
|
||||
track: "beta",
|
||||
skip_upload_metadata: "false",
|
||||
skip_upload_images: "true",
|
||||
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",
|
||||
)
|
||||
gradle(
|
||||
|
||||
@@ -11,18 +11,29 @@ or alternatively using `brew cask install fastlane`
|
||||
# Available Actions
|
||||
## Android
|
||||
```
|
||||
fastlane tests
|
||||
fastlane android 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