[ci skip] Update Hangar publish plugin

This commit is contained in:
Nassim Jahnke 2023-08-26 20:04:06 +10:00
parent 8dbc8e8eba
commit 01bbb2c1c2

View File

@ -3,7 +3,7 @@ import io.papermc.hangarpublishplugin.model.Platforms
plugins {
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.+"
}
@ -83,7 +83,7 @@ modrinth {
hangarPublish {
publications.register("plugin") {
version.set(suffixedVersion)
namespace("ViaVersion", "ViaVersion")
id.set("ViaVersion")
channel.set(if (isRelease) "Release" else if (isMainBranch) "Snapshot" else "Alpha")
changelog.set(changelogContent)
apiKey.set(System.getenv("HANGAR_TOKEN"))