v2.16.0-RC

This commit is contained in:
StageGuard 2023-09-03 13:38:39 +08:00 committed by GitHub
parent f0fa6a7979
commit 5a450e850d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ import org.jetbrains.kotlin.gradle.plugin.KotlinDependencyHandler
object Versions {
val project = System.getenv("mirai.build.project.version")?.takeIf { it.isNotBlank() }
?: System.getProperty("mirai.build.project.version")?.takeIf { it.isNotBlank() }
?: /*PROJECT_VERSION_START*/"2.16.0"/*PROJECT_VERSION_END*/
?: /*PROJECT_VERSION_START*/"2.16.0-RC"/*PROJECT_VERSION_END*/
// DO NOT ADD SPACE BETWEEN!
val core get() = project
@ -373,4 +373,4 @@ fun setProjectVersionForFutureBuilds(newVersion: String) {
text = text.replace(template(Versions.project), template(newVersion))
writeText(text)
}
}
}