File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -76,3 +76,32 @@ lane :prod do
7676 skip_upload_apk : true
7777 )
7878end
79+
80+ desc "Deploy alpha release"
81+ lane :alpha do
82+ version_code = get_properties_value ( key : "VERSION_CODE" , path : "./app/version.properties" )
83+ version_name = get_properties_value ( key : "VERSION_NAME" , path : "./app/version.properties" )
84+
85+ ENV [ "KEYSTORE_PASSWORD" ] = prompt (
86+ text : "Key store password: " ,
87+ secure_text : true
88+ )
89+
90+ ENV [ "KEY_PASSWORD" ] = prompt (
91+ text : "Key password: " ,
92+ secure_text : true
93+ )
94+
95+ gradle ( task : "bundleProRelease" )
96+
97+ supply (
98+ aab : "app/build/outputs/bundle/proRelease/app-pro-release.aab" ,
99+ track : "alpha" ,
100+ release_status : "completed" ,
101+ skip_upload_apk : true ,
102+ skip_upload_metadata : true ,
103+ skip_upload_changelogs : true ,
104+ skip_upload_images : true ,
105+ skip_upload_screenshots : true
106+ )
107+ end
Original file line number Diff line number Diff line change @@ -29,6 +29,14 @@ Create testing release
2929
3030Create and deploy production release
3131
32+ ### alpha
33+
34+ ``` sh
35+ [bundle exec] fastlane alpha
36+ ```
37+
38+ Deploy alpha release
39+
3240----
3341
3442This README.md is auto-generated and will be re-generated every time [ _ fastlane_ ] ( https://fastlane.tools ) is run.
You can’t perform that action at this time.
0 commit comments