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