Skip to content

Commit eb8a5e9

Browse files
committed
build: [cf] [mr] publish
1 parent cd8d30b commit eb8a5e9

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,7 @@ publishMods {
109109
requires(*depends.toTypedArray())
110110
}
111111

112-
if (mod.minecraftVersion.contains("snapshot")) {
113-
val modifiedVersion = buildString {
114-
val oldVersion = mod.minecraftVersion
115-
val splitted = oldVersion.split("-")
116-
append(splitted[0] + "-snapshot")
117-
}
118-
minecraftVersions.add(modifiedVersion)
119-
}
120-
112+
minecraftVersions.add(mod.minecraftVersion)
121113
minecraftVersions.addAll(allSupportedMC)
122114
}
123115
}

0 commit comments

Comments
 (0)