From 614f803049b2903c1f1d7c7bf82ad2486bebfe88 Mon Sep 17 00:00:00 2001 From: Ioana Alexandru Date: Mon, 8 Mar 2021 11:40:46 +0200 Subject: [PATCH] Increase app version code. The first release was done manually, and apparently the assigned version codes were 1001, 2001, 4001. Any following version code needs to be higher, so I made it equal to the build number + 10000. --- android/app/build.gradle | 2 +- android/fastlane/Fastfile | 2 +- android/fastlane/README.md | 2 +- .../metadata/android/en-GB/changelogs/{1.txt => 10001.txt} | 0 .../metadata/android/en-GB/changelogs/{2.txt => 10002.txt} | 0 .../metadata/android/en-US/changelogs/{1.txt => 10001.txt} | 0 .../metadata/android/en-US/changelogs/{2.txt => 10002.txt} | 0 .../metadata/android/ro/changelogs/{1.txt => 10001.txt} | 0 .../metadata/android/ro/changelogs/{2.txt => 10002.txt} | 0 android/fastlane/report.xml | 4 ++-- 10 files changed, 5 insertions(+), 5 deletions(-) rename android/fastlane/metadata/android/en-GB/changelogs/{1.txt => 10001.txt} (100%) rename android/fastlane/metadata/android/en-GB/changelogs/{2.txt => 10002.txt} (100%) rename android/fastlane/metadata/android/en-US/changelogs/{1.txt => 10001.txt} (100%) rename android/fastlane/metadata/android/en-US/changelogs/{2.txt => 10002.txt} (100%) rename android/fastlane/metadata/android/ro/changelogs/{1.txt => 10001.txt} (100%) rename android/fastlane/metadata/android/ro/changelogs/{2.txt => 10002.txt} (100%) diff --git a/android/app/build.gradle b/android/app/build.gradle index 2c0362340..ae90e1095 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -47,7 +47,7 @@ android { applicationId "ro.pub.acs.acs_upb_mobile" minSdkVersion 16 targetSdkVersion 29 - versionCode flutterVersionCode.toInteger() + versionCode flutterVersionCode.toInteger() + 10000 versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile index 36232c20c..009753b30 100644 --- a/android/fastlane/Fastfile +++ b/android/fastlane/Fastfile @@ -39,7 +39,7 @@ platform :android do ) upload_to_play_store( aab: '../build/app/outputs/bundle/release/app-release.aab', - version_code: flutter_version()["version_code"], + version_code: (flutter_version()["version_code"].to_i + 10000).to_s, ) end end diff --git a/android/fastlane/README.md b/android/fastlane/README.md index 14cc641bd..0a911e54c 100644 --- a/android/fastlane/README.md +++ b/android/fastlane/README.md @@ -30,7 +30,7 @@ Submit a new Beta Build to Crashlytics Beta ``` fastlane android deploy ``` -Deploy a new version to the Google Play +Deploy a new version to the Google Play store ---- diff --git a/android/fastlane/metadata/android/en-GB/changelogs/1.txt b/android/fastlane/metadata/android/en-GB/changelogs/10001.txt similarity index 100% rename from android/fastlane/metadata/android/en-GB/changelogs/1.txt rename to android/fastlane/metadata/android/en-GB/changelogs/10001.txt diff --git a/android/fastlane/metadata/android/en-GB/changelogs/2.txt b/android/fastlane/metadata/android/en-GB/changelogs/10002.txt similarity index 100% rename from android/fastlane/metadata/android/en-GB/changelogs/2.txt rename to android/fastlane/metadata/android/en-GB/changelogs/10002.txt diff --git a/android/fastlane/metadata/android/en-US/changelogs/1.txt b/android/fastlane/metadata/android/en-US/changelogs/10001.txt similarity index 100% rename from android/fastlane/metadata/android/en-US/changelogs/1.txt rename to android/fastlane/metadata/android/en-US/changelogs/10001.txt diff --git a/android/fastlane/metadata/android/en-US/changelogs/2.txt b/android/fastlane/metadata/android/en-US/changelogs/10002.txt similarity index 100% rename from android/fastlane/metadata/android/en-US/changelogs/2.txt rename to android/fastlane/metadata/android/en-US/changelogs/10002.txt diff --git a/android/fastlane/metadata/android/ro/changelogs/1.txt b/android/fastlane/metadata/android/ro/changelogs/10001.txt similarity index 100% rename from android/fastlane/metadata/android/ro/changelogs/1.txt rename to android/fastlane/metadata/android/ro/changelogs/10001.txt diff --git a/android/fastlane/metadata/android/ro/changelogs/2.txt b/android/fastlane/metadata/android/ro/changelogs/10002.txt similarity index 100% rename from android/fastlane/metadata/android/ro/changelogs/2.txt rename to android/fastlane/metadata/android/ro/changelogs/10002.txt diff --git a/android/fastlane/report.xml b/android/fastlane/report.xml index 1a704196b..e5d2f08bb 100644 --- a/android/fastlane/report.xml +++ b/android/fastlane/report.xml @@ -5,12 +5,12 @@ - + - +