File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
open_wearable/android/fastlane Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -40,4 +40,29 @@ platform :android do
4040 )
4141 end
4242 end
43+
44+ lane :production_deploy do
45+ begin
46+ sh "./get-flutter-dependencies.sh"
47+ sh "flutter build appbundle --release"
48+
49+ gradle (
50+ task : 'bundle' ,
51+ build_type : 'Release' ,
52+ properties : {
53+ # This injection seems not to be supported anymore and got replaced in build.gradle
54+ # "android.injected.version.code" => version,
55+ "android.injected.signing.store.file" => ENV [ "OPEN_WEARABLE_APP_ANDROID_KEYSTORE_PATH" ] ,
56+ "android.injected.signing.store.password" => ENV [ "OPEN_WEARABLE_APP_ANDROID_KEYSTORE_PASSWORD" ] ,
57+ "android.injected.signing.key.alias" => "upload" ,
58+ "android.injected.signing.key.password" => ENV [ "OPEN_WEARABLE_APP_ANDROID_KEYSTORE_PASSWORD" ] ,
59+ }
60+ )
61+ upload_to_play_store (
62+ track : 'production' ,
63+ skip_upload_changelogs : false ,
64+ aab : "../build/app/outputs/bundle/release/app-release.aab"
65+ )
66+ end
67+ end
4368end
You can’t perform that action at this time.
0 commit comments