chore: changed versioning to commitsha-mcver

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2024-05-08 00:50:21 +02:00
parent 3dcdb83bed
commit 714976cd74
Signed by: moonleay
GPG key ID: 82667543CCD715FB

View file

@ -30,7 +30,7 @@ plugins {
id("com.modrinth.minotaur") version "2.+"
}
val mavenVersion = System.getenv("GITHUB_REF_NAME") ?: System.getenv("GITHUB_REF_NAME")
val mavenVersion = System.getenv("GITHUB_SHA") ?: System.getenv("GITHUB_SHA")
?.let { "$it-${project.ext["minecraft.version"] as String}" }
?: "0.0.0-${project.ext["minecraft.version"] as String}"
val modId: String by project