From 434e10fe1e33b9f5dde8c6eeff511bfc0ed4f54c Mon Sep 17 00:00:00 2001 From: Anton Stubenbord Date: Sat, 16 Dec 2023 21:08:02 +0100 Subject: [PATCH] feat: revert version code scheme back to previous version --- android/app/build.gradle | 6 ++---- .../metadata/android/de-DE/changelogs/{59.txt => 4003.txt} | 0 .../metadata/android/en-US/changelogs/{59.txt => 4003.txt} | 0 lib/features/changelogs/view/changelog_dialog.dart | 2 +- pubspec.yaml | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) rename android/fastlane/metadata/android/de-DE/changelogs/{59.txt => 4003.txt} (100%) rename android/fastlane/metadata/android/en-US/changelogs/{59.txt => 4003.txt} (100%) diff --git a/android/app/build.gradle b/android/app/build.gradle index 496e5e29..a0e469fa 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -103,9 +103,7 @@ android.applicationVariants.all { variant -> def abiName = output.getFilter(OutputFile.ABI) def abiVersionCode = project.ext.abiCodes.get(abiName) if (abiVersionCode != null) { - output.versionCodeOverride = abiVersionCode * 1000 + variant.versionCode - println(abiName + ": " + output.versionCodeOverride) - // output.versionCodeOverride = variant.versionCode * 10 + abiVersionCode + output.versionCodeOverride = variant.versionCode * 10 + abiVersionCode } } -} \ No newline at end of file +} diff --git a/android/fastlane/metadata/android/de-DE/changelogs/59.txt b/android/fastlane/metadata/android/de-DE/changelogs/4003.txt similarity index 100% rename from android/fastlane/metadata/android/de-DE/changelogs/59.txt rename to android/fastlane/metadata/android/de-DE/changelogs/4003.txt diff --git a/android/fastlane/metadata/android/en-US/changelogs/59.txt b/android/fastlane/metadata/android/en-US/changelogs/4003.txt similarity index 100% rename from android/fastlane/metadata/android/en-US/changelogs/59.txt rename to android/fastlane/metadata/android/en-US/changelogs/4003.txt diff --git a/lib/features/changelogs/view/changelog_dialog.dart b/lib/features/changelogs/view/changelog_dialog.dart index 05025f30..c3869a1d 100644 --- a/lib/features/changelogs/view/changelog_dialog.dart +++ b/lib/features/changelogs/view/changelog_dialog.dart @@ -63,7 +63,7 @@ class ChangelogDialog extends StatelessWidget { } const _versionNumbers = { - "59": "3.1.5", + "4003": "3.1.5", "58": "3.1.4", "57": "3.1.3", "56": "3.1.2", diff --git a/pubspec.yaml b/pubspec.yaml index 5cce3e5a..11670709 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 3.1.5+59 +version: 3.1.5+400 environment: sdk: ">=3.1.0 <4.0.0"