File tree 1 file changed +1
-13
lines changed
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ allprojects {
23
23
24
24
base.archivesName.set(modId)
25
25
group = mavenGroup
26
- version = " $modVersion +${rootProject.libs.versions.minecraft.get()}${getVersionMetadata()} "
26
+ version = " $modVersion +${rootProject.libs.versions.minecraft.get()} "
27
27
28
28
java {
29
29
sourceCompatibility = JavaVersion .VERSION_21
@@ -220,18 +220,6 @@ fun com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar.relocate(pattern:
220
220
this .relocate(pattern, " io.github.quiltservertools.blockbotdiscord.libs.$pattern " )
221
221
}
222
222
223
- fun getVersionMetadata (): String {
224
- val buildId = System .getenv(" GITHUB_RUN_NUMBER" )
225
-
226
- // CI builds only
227
- if (buildId != null ) {
228
- return " +build.$buildId "
229
- }
230
-
231
- // No tracking information could be found about the build
232
- return " "
233
- }
234
-
235
223
private fun fetchChangelog (): String {
236
224
val changelog = tasks.getChangelog.get().changelog.get()
237
225
val modVersion: String by project
You can’t perform that action at this time.
0 commit comments