3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-20 06:50:08 +01:00

[ci skip] Update Hangar publish plugin

Dieser Commit ist enthalten in:
Nassim Jahnke 2023-08-26 20:04:06 +10:00
Ursprung 8dbc8e8eba
Commit 01bbb2c1c2

Datei anzeigen

@ -3,7 +3,7 @@ import io.papermc.hangarpublishplugin.model.Platforms
plugins { plugins {
id("com.github.johnrengelman.shadow") id("com.github.johnrengelman.shadow")
id("io.papermc.hangar-publish-plugin") version "0.0.5" id("io.papermc.hangar-publish-plugin") version "0.1.0"
id("com.modrinth.minotaur") version "2.+" id("com.modrinth.minotaur") version "2.+"
} }
@ -83,7 +83,7 @@ modrinth {
hangarPublish { hangarPublish {
publications.register("plugin") { publications.register("plugin") {
version.set(suffixedVersion) version.set(suffixedVersion)
namespace("ViaVersion", "ViaVersion") id.set("ViaVersion")
channel.set(if (isRelease) "Release" else if (isMainBranch) "Snapshot" else "Alpha") channel.set(if (isRelease) "Release" else if (isMainBranch) "Snapshot" else "Alpha")
changelog.set(changelogContent) changelog.set(changelogContent)
apiKey.set(System.getenv("HANGAR_TOKEN")) apiKey.set(System.getenv("HANGAR_TOKEN"))