mirror of
https://codeberg.org/moonleay/Gimbal.git
synced 2025-06-07 08:56:17 +02:00
ci: added git commit short reference
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
714976cd74
commit
0d775f1252
2 changed files with 18 additions and 3 deletions
|
@ -30,9 +30,9 @@ plugins {
|
|||
id("com.modrinth.minotaur") version "2.+"
|
||||
}
|
||||
|
||||
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 ver = System.getenv("GIT_SHA_SHORT") ?: "0.0.0"
|
||||
|
||||
val mavenVersion = "$ver-${project.ext["minecraft.version"] as String}"
|
||||
val modId: String by project
|
||||
val modName: String by project
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue