Skip to content

Commit

Permalink
Bump version to 2.3.0-RC
Browse files Browse the repository at this point in the history
  • Loading branch information
alialbaali committed Aug 6, 2023
1 parent 75dbe75 commit ca2aaba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions app/src/main/java/com/noto/app/domain/model/Release.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sealed interface Release {
data class Version(val major: Int, val minor: Int, val patch: Int, val status: Status = Status.Stable) {

companion object {
val Current = Version(2, 3, 0, Status.Beta(3))
val Current = Version(2, 3, 0, Status.RC)
val Last = Version(2, 2, 3)
}

Expand All @@ -36,6 +36,9 @@ sealed interface Release {
fun format() = "Beta$version"
}

@Serializable
object RC : Status

@Serializable
object Stable : Status
}
Expand Down Expand Up @@ -149,6 +152,6 @@ data class Release_2_2_3(override val changelog: Changelog) : Release {
@Suppress("ClassName")
@Serializable
data class Release_2_3_0(override val changelog: Changelog) : Release {
override val version: Version = Version(2, 3, 0, Version.Status.Beta(3))
override val date: LocalDate = LocalDate(2023, Month.JULY, 24)
override val version: Version = Version(2, 3, 0, Version.Status.RC)
override val date: LocalDate = LocalDate(2023, Month.AUGUST, 6)
}
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ object Versions {
}

object App {
const val VersionName = "2.3.0-Beta3"
const val VersionCode = 57
const val VersionName = "2.3.0-RC"
const val VersionCode = 58
const val ID = "com.noto"
const val Namespace = "com.noto.app"
const val MinSDK = 21
Expand Down

0 comments on commit ca2aaba

Please sign in to comment.