3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 16:12:46 +01:00

Change filename uploaded to modrinth (#3823)

Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
Dieser Commit ist enthalten in:
derspyy 2023-06-12 22:40:12 -03:00 committet von GitHub
Ursprung f55d84321a
Commit 446d3c22e2
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -1,3 +1,5 @@
import net.fabricmc.loom.task.RemapJarTask
plugins { plugins {
id("fabric-loom") version "1.0-SNAPSHOT" id("fabric-loom") version "1.0-SNAPSHOT"
id("com.modrinth.minotaur") version "2.+" id("com.modrinth.minotaur") version "2.+"
@ -89,8 +91,16 @@ tasks {
dependsOn(shadowJar) dependsOn(shadowJar)
inputFile.set(shadowJar.get().archiveFile) inputFile.set(shadowJar.get().archiveFile)
archiveBaseName.set("Geyser-Fabric") archiveBaseName.set("Geyser-Fabric")
archiveClassifier.set("")
archiveVersion.set("") archiveVersion.set("")
archiveClassifier.set("")
}
register("remapModrinthJar", RemapJarTask::class) {
dependsOn(shadowJar)
inputFile.set(shadowJar.get().archiveFile)
archiveBaseName.set("geyser-fabric")
archiveVersion.set(project.version.toString() + "+build." + System.getenv("GITHUB_RUN_NUMBER"))
archiveClassifier.set("")
} }
} }
@ -103,7 +113,7 @@ modrinth {
syncBodyFrom.set(rootProject.file("README.md").readText()) syncBodyFrom.set(rootProject.file("README.md").readText())
uploadFile.set(tasks.getByPath("remapJar")) uploadFile.set(tasks.getByPath("remapModrinthJar"))
gameVersions.addAll("1.20") gameVersions.addAll("1.20")
loaders.add("fabric") loaders.add("fabric")