Add dryRun lane to check tracking for all flavors without publishing
[ci skip]
This commit is contained in:
parent
810efe3cb9
commit
374867d0da
@ -306,4 +306,61 @@ platform :android do |options|
|
|||||||
upload_assets: ["fastlane/release/Cryptomator-#{version}_fdroid_signed.apk", "fastlane/release/Cryptomator-#{version}_signed.apk"]
|
upload_assets: ["fastlane/release/Cryptomator-#{version}_fdroid_signed.apk", "fastlane/release/Cryptomator-#{version}_signed.apk"]
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
desc "Dry run - check tracking added for all flavors"
|
||||||
|
lane :dryRun do |options|
|
||||||
|
gradle(task: "clean")
|
||||||
|
|
||||||
|
gradle(
|
||||||
|
task: "assemble",
|
||||||
|
build_type: "Release",
|
||||||
|
flavor: "playstore",
|
||||||
|
print_command: false,
|
||||||
|
properties: {
|
||||||
|
"android.injected.signing.store.file" => ENV["SIGNING_KEYSTORE_PATH"],
|
||||||
|
"android.injected.signing.store.password" => ENV["SIGNING_KEYSTORE_PASSWORD"],
|
||||||
|
"android.injected.signing.key.alias" => ENV["SIGNING_KEY_ALIAS"],
|
||||||
|
"android.injected.signing.key.password" => ENV["SIGNING_KEY_PASSWORD"],
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
checkTrackingAddedInDependencyUsingIzzyScript(alpha:options[:alpha], beta:options[:beta], flavor: 'playstore')
|
||||||
|
checkTrackingAddedInDependencyUsingExodus(alpha:options[:alpha], beta:options[:beta], flavor: 'playstore')
|
||||||
|
|
||||||
|
gradle(task: "clean")
|
||||||
|
|
||||||
|
gradle(
|
||||||
|
task: "assemble",
|
||||||
|
build_type: "Release",
|
||||||
|
flavor: "apkstore",
|
||||||
|
print_command: false,
|
||||||
|
properties: {
|
||||||
|
"android.injected.signing.store.file" => ENV["SIGNING_KEYSTORE_PATH"],
|
||||||
|
"android.injected.signing.store.password" => ENV["SIGNING_KEYSTORE_PASSWORD"],
|
||||||
|
"android.injected.signing.key.alias" => ENV["SIGNING_KEY_ALIAS"],
|
||||||
|
"android.injected.signing.key.password" => ENV["SIGNING_KEY_PASSWORD"],
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
checkTrackingAddedInDependencyUsingIzzyScript(alpha:options[:alpha], beta:options[:beta], flavor: 'apkstore')
|
||||||
|
checkTrackingAddedInDependencyUsingExodus(alpha:options[:alpha], beta:options[:beta], flavor: 'apkstore')
|
||||||
|
|
||||||
|
gradle(task: "clean")
|
||||||
|
|
||||||
|
gradle(
|
||||||
|
task: "assemble",
|
||||||
|
build_type: "Release",
|
||||||
|
flavor: "fdroid",
|
||||||
|
print_command: false,
|
||||||
|
properties: {
|
||||||
|
"android.injected.signing.store.file" => ENV["SIGNING_KEYSTORE_PATH"],
|
||||||
|
"android.injected.signing.store.password" => ENV["SIGNING_KEYSTORE_PASSWORD"],
|
||||||
|
"android.injected.signing.key.alias" => ENV["SIGNING_KEY_ALIAS"],
|
||||||
|
"android.injected.signing.key.password" => ENV["SIGNING_KEY_PASSWORD"],
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
checkTrackingAddedInDependencyUsingIzzyScript(alpha:options[:alpha], beta:options[:beta], flavor: 'fdroid')
|
||||||
|
checkTrackingAddedInDependencyUsingExodus(alpha:options[:alpha], beta:options[:beta], flavor: 'fdroid')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,64 +1,96 @@
|
|||||||
fastlane documentation
|
fastlane documentation
|
||||||
================
|
----
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
Make sure you have the latest version of the Xcode command line tools installed:
|
Make sure you have the latest version of the Xcode command line tools installed:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
xcode-select --install
|
xcode-select --install
|
||||||
```
|
```
|
||||||
|
|
||||||
Install _fastlane_ using
|
For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)
|
||||||
```
|
|
||||||
[sudo] gem install fastlane -NV
|
|
||||||
```
|
|
||||||
or alternatively using `brew install fastlane`
|
|
||||||
|
|
||||||
# Available Actions
|
# Available Actions
|
||||||
|
|
||||||
## Android
|
## Android
|
||||||
|
|
||||||
### android test
|
### android test
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane android test
|
||||||
```
|
```
|
||||||
fastlane android test
|
|
||||||
```
|
|
||||||
Run all the tests
|
Run all the tests
|
||||||
|
|
||||||
### android deploy
|
### android deploy
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane android deploy
|
||||||
```
|
```
|
||||||
fastlane android deploy
|
|
||||||
```
|
|
||||||
Deploy new version to Google Play and APK Store options: beta:false (default)
|
Deploy new version to Google Play and APK Store options: beta:false (default)
|
||||||
|
|
||||||
### android deployToPlaystore
|
### android deployToPlaystore
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane android deployToPlaystore
|
||||||
```
|
```
|
||||||
fastlane android deployToPlaystore
|
|
||||||
```
|
|
||||||
Deploy new version to Play Store
|
Deploy new version to Play Store
|
||||||
|
|
||||||
### android deployToServer
|
### android deployToServer
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane android deployToServer
|
||||||
```
|
```
|
||||||
fastlane android deployToServer
|
|
||||||
```
|
|
||||||
Deploy new version to server
|
Deploy new version to server
|
||||||
|
|
||||||
### android deployToFDroid
|
### android deployToFDroid
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane android deployToFDroid
|
||||||
```
|
```
|
||||||
fastlane android deployToFDroid
|
|
||||||
```
|
|
||||||
Deploy new version to F-Droid
|
Deploy new version to F-Droid
|
||||||
|
|
||||||
### android checkTrackingAddedInDependencyUsingIzzyScript
|
### android checkTrackingAddedInDependencyUsingIzzyScript
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane android checkTrackingAddedInDependencyUsingIzzyScript
|
||||||
```
|
```
|
||||||
fastlane android checkTrackingAddedInDependencyUsingIzzyScript
|
|
||||||
```
|
|
||||||
Check if tracking added in some dependency using Izzy's script
|
Check if tracking added in some dependency using Izzy's script
|
||||||
|
|
||||||
### android checkTrackingAddedInDependencyUsingExodus
|
### android checkTrackingAddedInDependencyUsingExodus
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane android checkTrackingAddedInDependencyUsingExodus
|
||||||
```
|
```
|
||||||
fastlane android checkTrackingAddedInDependencyUsingExodus
|
|
||||||
```
|
|
||||||
Check if tracking added in some dependency using exodus
|
Check if tracking added in some dependency using exodus
|
||||||
|
|
||||||
### android createGitHubDraftRelease
|
### android createGitHubDraftRelease
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane android createGitHubDraftRelease
|
||||||
```
|
```
|
||||||
fastlane android createGitHubDraftRelease
|
|
||||||
```
|
|
||||||
Create GitHub draft release
|
Create GitHub draft release
|
||||||
|
|
||||||
|
### android dryRun
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane android dryRun
|
||||||
|
```
|
||||||
|
|
||||||
|
Dry run - check trackin added for all flavors
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
|
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
|
||||||
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
|
|
||||||
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
|
More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools).
|
||||||
|
|
||||||
|
The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user