diff --git a/backend/mirai-console/src/internal/MiraiConsoleBuildConstants.kt b/backend/mirai-console/src/internal/MiraiConsoleBuildConstants.kt index 8c3ff4cdf..ed576d5c4 100644 --- a/backend/mirai-console/src/internal/MiraiConsoleBuildConstants.kt +++ b/backend/mirai-console/src/internal/MiraiConsoleBuildConstants.kt @@ -14,8 +14,8 @@ import java.time.Instant internal object MiraiConsoleBuildConstants { // auto-filled on build (task :mirai-console:fillBuildConstants) @JvmStatic - val buildDate: Instant = Instant.ofEpochSecond(1624419793) - const val versionConst: String = "2.7-M2-dev-1" + val buildDate: Instant = Instant.ofEpochSecond(1625578590) + const val versionConst: String = "2.7-M2" @JvmStatic val version: SemVersion = SemVersion(versionConst) diff --git a/tools/gradle-plugin/src/main/kotlin/VersionConstants.kt b/tools/gradle-plugin/src/main/kotlin/VersionConstants.kt index c62d08f78..ba63def96 100644 --- a/tools/gradle-plugin/src/main/kotlin/VersionConstants.kt +++ b/tools/gradle-plugin/src/main/kotlin/VersionConstants.kt @@ -10,6 +10,6 @@ package net.mamoe.mirai.console.gradle internal object VersionConstants { - const val CONSOLE_VERSION = "2.7-M2-dev-1" // value is written here automatically during build - const val CORE_VERSION = "2.7-M2-dev-1" // value is written here automatically during build + const val CONSOLE_VERSION = "2.7-M2" // value is written here automatically during build + const val CORE_VERSION = "2.7-M2" // value is written here automatically during build } \ No newline at end of file