mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-20 16:04:22 +01:00
Fix fastlane
This commit is contained in:
@@ -24,6 +24,7 @@ platform :android do
|
||||
desc "Submit a new Beta Build to Crashlytics Beta"
|
||||
lane :beta do
|
||||
gradle(task: "clean assembleRelease")
|
||||
gradle(task: "test")
|
||||
crashlytics
|
||||
|
||||
# sh "your_script.sh"
|
||||
@@ -33,45 +34,44 @@ platform :android do
|
||||
desc "Deploy a new version to the Google Play"
|
||||
lane :deploy do
|
||||
gradle(task: "clean assembleRelease")
|
||||
gradle(task: "test")
|
||||
upload_to_play_store
|
||||
end
|
||||
|
||||
desc "Deploy libraries to Nexus."
|
||||
lane :deployNexus do
|
||||
gradle(task: "clean assembleRelease")
|
||||
gradle(task: "publishReleasePublicationToSonatypeRepository")
|
||||
end
|
||||
|
||||
desc "Deploy build to Alpha channel."
|
||||
lane :deployAlpha do
|
||||
gradle(task: "clean bundleRelease")
|
||||
gradle(task: "test")
|
||||
upload_to_play_store(
|
||||
track: 'alpha',
|
||||
aab: 'app/build/outputs/bundle/release/sample-release.aab'
|
||||
aab: 'app/build/outputs/bundle/release/app-release.aab'
|
||||
)
|
||||
end
|
||||
|
||||
desc "Deploy build to Beta channel."
|
||||
lane :deployBeta do
|
||||
gradle(task: "clean bundleRelease")
|
||||
gradle(task: "test")
|
||||
upload_to_play_store(
|
||||
track: 'beta',
|
||||
aab: 'app/build/outputs/bundle/release/sample-release.aab'
|
||||
aab: 'app/build/outputs/bundle/release/app-release.aab'
|
||||
)
|
||||
end
|
||||
|
||||
desc "Deploy build to internal channel."
|
||||
lane :deployInternal do
|
||||
gradle(task: "clean bundleRelease")
|
||||
gradle(task: "test")
|
||||
upload_to_play_store(
|
||||
track: 'internal',
|
||||
aab: 'app/build/outputs/bundle/release/sample-release.aab'
|
||||
aab: 'app/build/outputs/bundle/release/app-release.aab'
|
||||
)
|
||||
end
|
||||
|
||||
desc "Generate internal Play Store link to the apk"
|
||||
lane :deployInternalLink do
|
||||
gradle(task: "clean bundleRelease")
|
||||
gradle(task: "test")
|
||||
upload_to_play_store_internal_app_sharing(aab: 'sample/build/outputs/bundle/release/sample-release.aab')
|
||||
end
|
||||
|
||||
|
||||
64
fastlane/README.md
Normal file
64
fastlane/README.md
Normal file
@@ -0,0 +1,64 @@
|
||||
fastlane documentation
|
||||
================
|
||||
# Installation
|
||||
|
||||
Make sure you have the latest version of the Xcode command line tools installed:
|
||||
|
||||
```
|
||||
xcode-select --install
|
||||
```
|
||||
|
||||
Install _fastlane_ using
|
||||
```
|
||||
[sudo] gem install fastlane -NV
|
||||
```
|
||||
or alternatively using `brew install fastlane`
|
||||
|
||||
# Available Actions
|
||||
## Android
|
||||
### android test
|
||||
```
|
||||
fastlane android test
|
||||
```
|
||||
Runs all the tests
|
||||
### android beta
|
||||
```
|
||||
fastlane android beta
|
||||
```
|
||||
Submit a new Beta Build to Crashlytics Beta
|
||||
### android deploy
|
||||
```
|
||||
fastlane android deploy
|
||||
```
|
||||
Deploy a new version to the Google Play
|
||||
### android deployNexus
|
||||
```
|
||||
fastlane android deployNexus
|
||||
```
|
||||
Deploy libraries to Nexus.
|
||||
### android deployAlpha
|
||||
```
|
||||
fastlane android deployAlpha
|
||||
```
|
||||
Deploy build to Alpha channel.
|
||||
### android deployBeta
|
||||
```
|
||||
fastlane android deployBeta
|
||||
```
|
||||
Deploy build to Beta channel.
|
||||
### android deployInternal
|
||||
```
|
||||
fastlane android deployInternal
|
||||
```
|
||||
Deploy build to internal channel.
|
||||
### android deployInternalLink
|
||||
```
|
||||
fastlane android deployInternalLink
|
||||
```
|
||||
Generate internal Play Store link to the apk
|
||||
|
||||
----
|
||||
|
||||
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).
|
||||
18
fastlane/report.xml
Normal file
18
fastlane/report.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<testsuites>
|
||||
<testsuite name="fastlane.lanes">
|
||||
|
||||
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000187475">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="1: clean bundleRelease" time="90.994886849">
|
||||
|
||||
</testcase>
|
||||
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
Reference in New Issue
Block a user