diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 7ee589ae36..b8eeca35cd 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -76,3 +76,32 @@ lane :prod do skip_upload_apk: true ) end + +desc "Deploy alpha release" +lane :alpha do + version_code = get_properties_value(key: "VERSION_CODE", path: "./app/version.properties") + version_name = get_properties_value(key: "VERSION_NAME", path: "./app/version.properties") + + ENV["KEYSTORE_PASSWORD"] = prompt( + text: "Key store password: ", + secure_text: true + ) + + ENV["KEY_PASSWORD"] = prompt( + text: "Key password: ", + secure_text: true + ) + + gradle(task: "bundleProRelease") + + supply( + aab: "app/build/outputs/bundle/proRelease/app-pro-release.aab", + track: "alpha", + release_status: "completed", + skip_upload_apk: true, + skip_upload_metadata: true, + skip_upload_changelogs: true, + skip_upload_images: true, + skip_upload_screenshots: true + ) +end diff --git a/fastlane/README.md b/fastlane/README.md index 19f837294e..df02f4579f 100644 --- a/fastlane/README.md +++ b/fastlane/README.md @@ -29,6 +29,14 @@ Create testing release Create and deploy production release +### alpha + +```sh +[bundle exec] fastlane alpha +``` + +Deploy alpha release + ---- This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.