Skip to content

Commit

Permalink
Increase app version code.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
IoanaAlexandru committed Mar 8, 2021
1 parent a4e58a6 commit 614f803
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion android/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

----

Expand Down
4 changes: 2 additions & 2 deletions android/fastlane/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@



<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000779">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.001879">

</testcase>


<testcase classname="fastlane.lanes" name="1: test" time="274.946398">
<testcase classname="fastlane.lanes" name="1: test" time="92.094348">

</testcase>

Expand Down

0 comments on commit 614f803

Please sign in to comment.