build: Fix beta check

This commit is contained in:
Jason Penilla committed 2023-04-16 09:26:32 -07:00
1 parent 1c86766696
commit dd6e22e980
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ hangarPublish.publications.register("plugin") {
version.set(projectVersion)
owner.set("Vicarious")
slug.set("Carbon")
channel.set(if (projectVersion.contains("+beta.")) "Beta" else "Release")
channel.set(if (projectVersion.contains("-beta.")) "Beta" else "Release")
changelog.set(releaseNotes)
apiKey.set(providers.environmentVariable("HANGAR_UPLOAD_KEY"))
platforms.register(Platforms.PAPER) {