Skip to content

Commit

Permalink
Bump release version from 1.8.0-rc4 to 1.8.1
Browse files Browse the repository at this point in the history
This marks the end of release candidates
  • Loading branch information
wax911 committed Apr 8, 2021
1 parent 5da888a commit 3290d56
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
4 changes: 2 additions & 2 deletions app/.meta/version.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"code": 18040,
"code": 18100,
"migration": false,
"minSdk": 17,
"releaseNotes": "",
"version": "1.8.0-rc4",
"version": "1.8.1",
"appId": "com.mxt.anitrend"
}
6 changes: 3 additions & 3 deletions app/app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
{
"type": "SINGLE",
"filters": [],
"versionCode": 18030,
"versionName": "1.8.0-rc3",
"outputFile": "anitrend_v1.8.0-rc3_18030-app-release.apk"
"versionCode": 18100,
"versionName": "1.8.1",
"outputFile": "anitrend_v1.8.1_18100-app-release.apk"
}
]
}
6 changes: 3 additions & 3 deletions app/github/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
{
"type": "SINGLE",
"filters": [],
"versionCode": 18030,
"versionName": "1.8.0-rc3-github",
"outputFile": "anitrend_v1.8.0-rc3_18030-github-release.apk"
"versionCode": 18100,
"versionName": "1.8.1-github",
"outputFile": "anitrend_v1.8.1_18100-github-release.apk"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ object Versions {

private const val major = 1
private const val minor = 8
private const val patch = 0
private const val candidate = 4
private const val patch = 1
private const val candidate = 0

const val compileSdk = 30
const val targetSdk = 30
Expand All @@ -24,7 +24,10 @@ object Versions {
* Naming schema: X.Y.Z-variant##
* > **X**(Major).**Y**(Minor).**Z**(Patch)
*/
const val versionName = "$major.$minor.$patch-rc$candidate"
val versionName = when {
candidate > 0 -> "$major.$minor.$patch-rc$candidate"
else -> "$major.$minor.$patch"
}

const val mockk = "1.11.0"
const val junit = "4.13.2"
Expand Down

0 comments on commit 3290d56

Please sign in to comment.