@@ -18,13 +18,13 @@ default_platform(:android)
1818platform :android do
1919
2020 desc "Runs tests"
21- lane :checkAuthenticator do
21+ lane :check do
2222 gradle ( tasks : [ "authenticator:testDebug" , "authenticator:lintDebug" , "authenticator:detekt" , "authenticator:koverXmlReportDebug" ] )
2323 end
2424
2525 desc "Apply build version information to Authenticator"
2626 fastlane_require "time"
27- lane :setAuthenticatorBuildVersionInfo do |options |
27+ lane :setBuildVersionInfoAuthenticator do |options |
2828
2929 # Read-in app build config file.
3030 buildConfigPath = "../authenticator/build.gradle.kts"
@@ -73,18 +73,18 @@ platform :android do
7373 end
7474
7575 desc "Assemble Authenticator debug variants"
76- lane :buildAuthenticatorDebug do
76+ lane :buildDebugAuthenticator do
7777 gradle (
78- task : "authenticator: assemble" ,
78+ task : "assemble" ,
7979 build_type : "Debug" ,
8080 print_command : false ,
8181 )
8282 end
8383
8484 desc "Assemble and sign Authenticator release APK"
85- lane :buildAuthenticatorRelease do |options |
85+ lane :buildReleaseAuthenticator do |options |
8686 gradle (
87- task : "authenticator: assemble" ,
87+ task : "assemble" ,
8888 build_type : "Release" ,
8989 properties : {
9090 "android.injected.signing.store.file" => options [ :storeFile ] ,
@@ -97,9 +97,9 @@ platform :android do
9797 end
9898
9999 desc "Bundle and sign Authenticator release AAB"
100- lane :bundleAuthenticatorRelease do |options |
100+ lane :bundleReleaseAuthenticator do |options |
101101 gradle (
102- task : "authenticator: bundle" ,
102+ task : "bundle" ,
103103 build_type : "Release" ,
104104 properties : {
105105 "android.injected.signing.store.file" => options [ :storeFile ] ,
@@ -112,23 +112,26 @@ platform :android do
112112 end
113113
114114 desc "Publish Authenticator release AAB to Firebase"
115- lane :distributeAuthenticatorReleaseBundleToFirebase do |options |
115+ lane :distributeReleaseBundleToFirebaseAuthenticator do |options |
116116 release_notes = changelog_from_git_commits (
117117 commits_count : 1 ,
118118 pretty : "- %s"
119119 )
120120
121+ puts "Release notes #{ release_notes } "
122+
121123 firebase_app_distribution (
122124 app : "1:867301491091:android:50b626dba42a361651e866" ,
123125 android_artifact_type : "AAB" ,
124126 android_artifact_path : "authenticator/build/outputs/bundle/release/com.bitwarden.authenticator-release.aab" ,
125127 service_credentials_file : options [ :serviceCredentialsFile ] ,
126128 groups : "internal-prod-group, livefront" ,
129+ release_notes : release_notes ,
127130 )
128131 end
129132
130133 desc "Publish Authenticator release to Google Play Store"
131- lane :publishAuthenticatorReleaseToGooglePlayStore do |options |
134+ lane :publishReleaseToGooglePlayStoreAuthenticator do |options |
132135 upload_to_play_store (
133136 package_name : "com.bitwarden.authenticator" ,
134137 json_key : options [ :serviceCredentialsFile ] ,
0 commit comments