diff --git a/mobile/android/fastlane/Appfile b/mobile/android/fastlane/Appfile index 64a2c5d2b7..98e61b42e3 100644 --- a/mobile/android/fastlane/Appfile +++ b/mobile/android/fastlane/Appfile @@ -1,2 +1,2 @@ -json_key_file("/Users/alex/Documents/immich-fastlane-googleplaystore-key.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one -package_name("app.alextran.immich") # e.g. com.krausefx.app +json_key_file("/Users/alex/Documents/immich-play-store-key.json") +package_name("app.alextran.immich") diff --git a/mobile/android/fastlane/Fastfile b/mobile/android/fastlane/Fastfile index 3549ff5366..756b3f4e5a 100644 --- a/mobile/android/fastlane/Fastfile +++ b/mobile/android/fastlane/Fastfile @@ -18,8 +18,16 @@ default_platform(:android) platform :android do desc "Update AAB to PlayStore" - lane :beta do - upload_to_play_store(track: 'beta', aab: '../build/app/outputs/bundle/release/app-release.aab') + lane :release do + gradle( + task: 'bundle', + build_type: 'Release', + properties: { + "android.injected.version.code" => 28, + "android.injected.version.name" => "1.18.1", + } + ) + upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab') end end diff --git a/mobile/android/fastlane/README.md b/mobile/android/fastlane/README.md index e3a324951c..13ce6317e3 100644 --- a/mobile/android/fastlane/README.md +++ b/mobile/android/fastlane/README.md @@ -15,10 +15,10 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do ## Android -### android beta +### android release ```sh -[bundle exec] fastlane android beta +[bundle exec] fastlane android release ``` Update AAB to PlayStore diff --git a/mobile/android/fastlane/report.xml b/mobile/android/fastlane/report.xml index 42ae3df8f8..99969bffe9 100644 --- a/mobile/android/fastlane/report.xml +++ b/mobile/android/fastlane/report.xml @@ -5,14 +5,17 @@ - + - + - + + + + diff --git a/mobile/ios/fastlane/Fastfile b/mobile/ios/fastlane/Fastfile index b996e2d191..915ae4950c 100644 --- a/mobile/ios/fastlane/Fastfile +++ b/mobile/ios/fastlane/Fastfile @@ -19,7 +19,7 @@ platform :ios do desc "iOS Beta" lane :beta do increment_version_number( - version_number: "1.18.0" + version_number: "1.18.1" ) increment_build_number( build_number: latest_testflight_build_number + 1, diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index 6599dceb4f..0219879039 100644 --- a/mobile/pubspec.yaml +++ b/mobile/pubspec.yaml @@ -2,7 +2,7 @@ name: immich_mobile description: Immich - selfhosted backup media file on mobile phone publish_to: "none" -version: 1.18.0+27 +version: 1.18.1+28 environment: sdk: ">=2.17.0 <3.0.0"