This commit is contained in:
Him188 2020-12-19 23:30:06 +08:00
parent 94237297a1
commit e6621fbb3d
4 changed files with 7 additions and 7 deletions

View File

@ -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(1608309902)
const val versionConst: String = "2.0-M1"
val buildDate: Instant = Instant.ofEpochSecond(1608391573)
const val versionConst: String = "2.0-M1-1"
@JvmStatic
val version: SemVersion = SemVersion(versionConst)

View File

@ -12,8 +12,8 @@
import org.gradle.api.attributes.Attribute
object Versions {
const val core = "2.0-M1"
const val console = "2.0-M1"
const val core = "2.0-M1-1"
const val console = "2.0-M1-1"
const val consoleGraphical = "0.0.7"
const val consoleTerminal = console

View File

@ -21,7 +21,7 @@ console 由后端和前端一起工作. 使用时必须选择一个前端.
| 版本类型 | 版本号 |
|:------:|:------------------------------:|
| 稳定 | 1.1.0 |
| 预览 | 2.0-M1 |
| 预览 | 2.0-M1-1 |
| 开发 | [![Version]][Bintray Download] |
## 配置项目

View File

@ -10,6 +10,6 @@
package net.mamoe.mirai.console.gradle
internal object VersionConstants {
const val CONSOLE_VERSION = "2.0-M1" // value is written here automatically during build
const val CORE_VERSION = "2.0-M1" // value is written here automatically during build
const val CONSOLE_VERSION = "2.0-M1-1" // value is written here automatically during build
const val CORE_VERSION = "2.0-M1-1" // value is written here automatically during build
}