Created
March 30, 2020 06:07
-
-
Save tianhaoz95/fa6415d348c5380bb18b2983ab5b5c02 to your computer and use it in GitHub Desktop.
script to do android release
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| default_platform(:android) | |
| platform :android do | |
| lane :internal do | |
| gradle(task: 'bundle', build_type: 'Release') | |
| upload_to_play_store(track: 'internal', aab: 'path/to/your/app.aab') | |
| end | |
| lane :alpha do | |
| gradle(task: 'bundle', build_type: 'Release') | |
| upload_to_play_store(track: 'internal', track_promote_to: 'alpha') | |
| end | |
| lane :beta do | |
| gradle(task: 'bundle', build_type: 'Release') | |
| upload_to_play_store(track: 'internal', track_promote_to: 'beta') | |
| end | |
| lane :production do | |
| gradle(task: 'bundle', build_type: 'Release') | |
| upload_to_play_store(track: 'alpha', track_promote_to: 'production') | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment