Skip to content

Commit

Permalink
[ci skip] Rename Hangar publish plugin identifiers for velocity and p…
Browse files Browse the repository at this point in the history
…aper
  • Loading branch information
NonSwag committed Jul 29, 2024
1 parent 1e8f126 commit 09c8335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ val versions: List<String> = (property("gameVersions") as String)
.map { it.trim() }

hangarPublish { // docs - https://docs.papermc.io/misc/hangar-publishing
publications.register("plugin") {
publications.register("paper") {
id.set("CommandControl")
version.set(versionString)
channel.set(if (isRelease) "Release" else "Snapshot")
Expand Down
2 changes: 1 addition & 1 deletion velocity/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ val versionString: String = project.version as String
val isRelease: Boolean = !versionString.contains("-pre")

hangarPublish { // docs - https://docs.papermc.io/misc/hangar-publishing
publications.register("plugin") {
publications.register("velocity") {
id.set("CommandControl")
version.set(versionString)
channel.set(if (isRelease) "Release" else "Snapshot")
Expand Down

0 comments on commit 09c8335

Please sign in to comment.