Skip to content

Commit

Permalink
feat: revert version code scheme back to previous version
Browse files Browse the repository at this point in the history
  • Loading branch information
astubenbord committed Dec 16, 2023
1 parent 4868ce1 commit 434e10f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
}
2 changes: 1 addition & 1 deletion lib/features/changelogs/view/changelog_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 434e10f

Please sign in to comment.