diff --git a/buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt b/buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt index ccb35c45..a0f8c4de 100644 --- a/buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt +++ b/buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt @@ -11,12 +11,17 @@ object Versions { const val minSdk = 21 private const val major = 1 - private const val minor = 6 + private const val minor = 7 private const val patch = 0 - private const val revision = 2 + private const val revision = 0 + + private const val channel = "rc" const val versionCode = major * 100_000 + minor * 10_000 + patch * 1_000 + revision * 100 - val versionName = "$major.$minor.$patch-rc${revision.toVersion()}" + val versionName = if (revision > 1) + "$major.$minor.$patch-${channel}${revision.toVersion()}" + else + "$major.$minor.$patch" const val mockk = "1.12.0" const val junit = "4.13.2"