mirror of
https://codeberg.org/moonleay/Gimbal.git
synced 2025-04-11 08:54:15 +02:00
ci: tried to fix ci when building a release
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
b63c45263d
commit
47e5fc5adf
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ plugins {
|
||||||
id("com.modrinth.minotaur") version "2.+"
|
id("com.modrinth.minotaur") version "2.+"
|
||||||
}
|
}
|
||||||
|
|
||||||
val ver = if ((System.getenv("GITHUB_EVENT_NAME") ?: "local") == "release") System.getenv("GITHUB_REF_NAME")
|
val ver = if ((System.getenv("GITHUB_EVENT_NAME") ?: "local") == "tag") System.getenv("GITHUB_REF_NAME")
|
||||||
?: "err" else System.getenv("GIT_SHA_SHORT") ?: "0.0.0"
|
?: "err" else System.getenv("GIT_SHA_SHORT") ?: "0.0.0"
|
||||||
|
|
||||||
val mavenVersion = "$ver-${project.ext["minecraft.version"] as String}"
|
val mavenVersion = "$ver-${project.ext["minecraft.version"] as String}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue