fix: CI
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
bridge 2025-03-01 15:30:07 +01:00
parent 9d7dbf17a8
commit 3b3bee5209
2 changed files with 5 additions and 2 deletions

View file

@ -22,6 +22,7 @@ fun getVersionMeta(includeHash: Boolean): String {
return "$commitHash-SNAPSHOT"
}
version = "$fullVersion${getVersionMeta(true)}"
ext["fullVersion"] = fullVersion
ext["versionBeta"] = getVersionMeta(true)
ext["versionNoHash"] = "$fullVersion${getVersionMeta(false)}"

View file

@ -48,8 +48,10 @@ publishing {
repositories {
maven {
url = uri("https://git.netherite.gg/api/packages/Netherite-Public/maven")
val urlHost = "repo.netherite.gg"
name = "netheriteRepo"
url = uri("https://$urlHost/netherite")
credentials(PasswordCredentials::class.java)
authentication {
@ -62,7 +64,7 @@ publishing {
create<MavenPublication>("EntityLib") {
groupId = project.group as String
artifactId = project.name
version = rootProject.ext["versionBeta"] as String
version = rootProject.ext["fullVersion"] as String
from(components["java"])
pom {