diff --git a/build.gradle.kts b/build.gradle.kts index 98f0f3b..8e8a108 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,7 +23,7 @@ allprojects { base.archivesName.set(modId) group = mavenGroup - version = "$modVersion+${rootProject.libs.versions.minecraft.get()}${getVersionMetadata()}" + version = "$modVersion+${rootProject.libs.versions.minecraft.get()}" java { sourceCompatibility = JavaVersion.VERSION_21 @@ -220,18 +220,6 @@ fun com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar.relocate(pattern: this.relocate(pattern, "io.github.quiltservertools.blockbotdiscord.libs.$pattern") } -fun getVersionMetadata(): String { - val buildId = System.getenv("GITHUB_RUN_NUMBER") - - // CI builds only - if (buildId != null) { - return "+build.$buildId" - } - - // No tracking information could be found about the build - return "" -} - private fun fetchChangelog(): String { val changelog = tasks.getChangelog.get().changelog.get() val modVersion: String by project