Fix publish versions

This commit is contained in:
Lukas Rieger (Blue) 2023-07-15 13:45:44 +02:00
parent bc2327ec74
commit eda3815b89
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
4 changed files with 9 additions and 5 deletions

View File

@ -142,7 +142,7 @@ modrinth {
versionNumber.set("${project.version}-${project.name}") versionNumber.set("${project.version}-${project.name}")
changelog.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}") changelog.set("Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}")
uploadFile.set(tasks.findByName("remappedShadowJar")) uploadFile.set(tasks.findByName("remappedShadowJar"))
gameVersions.addAll("1.20") gameVersions.addAll("1.20", "1.20.1")
dependencies { dependencies {
required.project("P7dR8mSH") // Fabric API required.project("P7dR8mSH") // Fabric API
} }
@ -162,6 +162,7 @@ curseforge {
addGameVersion("Java 17") addGameVersion("Java 17")
addGameVersion("1.20") addGameVersion("1.20")
addGameVersion("1.20.1")
mainArtifact(tasks.findByName("remappedShadowJar"), closureOf<CurseArtifact> { mainArtifact(tasks.findByName("remappedShadowJar"), closureOf<CurseArtifact> {
relations(closureOf<CurseRelation> { relations(closureOf<CurseRelation> {

View File

@ -122,7 +122,7 @@ modrinth {
uploadFile.set(tasks.findByName("shadowJar")) uploadFile.set(tasks.findByName("shadowJar"))
loaders.addAll("folia") loaders.addAll("folia")
gameVersions.addAll( gameVersions.addAll(
"1.19.4" "1.19.4", "1.20", "1.20.1"
) )
} }

View File

@ -175,7 +175,7 @@ modrinth {
versionNumber = "${project.version}-${project.name}" versionNumber = "${project.version}-${project.name}"
changelog = "Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}" changelog = "Releasenotes and Changelog:\nhttps://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v${project.version}"
uploadFile = shadowJar uploadFile = shadowJar
gameVersions = ["1.20"] gameVersions = ["1.20", "1.20.1"]
} }
curseforge { curseforge {
@ -192,6 +192,7 @@ curseforge {
addGameVersion "Java 17" addGameVersion "Java 17"
addGameVersion "1.20" addGameVersion "1.20"
addGameVersion "1.20.1"
mainArtifact shadowJar mainArtifact shadowJar
} }

View File

@ -132,7 +132,8 @@ modrinth {
"1.16", "1.16.1", "1.16.2", "1.16.3", "1.16.4", "1.16.5", "1.16", "1.16.1", "1.16.2", "1.16.3", "1.16.4", "1.16.5",
"1.17", "1.17.1", "1.17", "1.17.1",
"1.18", "1.18.1", "1.18.2", "1.18", "1.18.1", "1.18.2",
"1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4" "1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4",
"1.20", "1.20.1"
) )
} }
@ -156,7 +157,8 @@ hangarPublish {
"1.16", "1.16.1", "1.16.2", "1.16.3", "1.16.4", "1.16.5", "1.16", "1.16.1", "1.16.2", "1.16.3", "1.16.4", "1.16.5",
"1.17", "1.17.1", "1.17", "1.17.1",
"1.18", "1.18.1", "1.18.2", "1.18", "1.18.1", "1.18.2",
"1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4" "1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4",
"1.20", "1.20.1"
)) ))
} }
} }