Skip to content

Commit fa621c8

Browse files
committed
Improve release system
1 parent e7b2cad commit fa621c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
152152
hangarPublish {
153153
publications.register("Attollo") {
154154
version.set(suffixedVersion)
155-
channel.set(if (isRelease) "Release" else if (isMainBranch) "Snapshot" else "Alpha")
155+
channel.set(if (isRelease) "Release" else "Snapshot")
156156
changelog.set(changelogContent)
157157
apiKey.set(System.getenv("HANGAR_SECRET"))
158158
id.set("Attollo")
@@ -168,7 +168,7 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
168168
modrinth {
169169
token.set(System.getenv("MODRINTH_TOKEN"))
170170
projectId.set("ULt9SvKn")
171-
versionType.set(if (isRelease) "release" else if (isMainBranch) "beta" else "alpha")
171+
versionType.set(if (isRelease) "release" else "beta")
172172
versionNumber.set(suffixedVersion)
173173
versionName.set(suffixedVersion)
174174
changelog.set(changelogContent)

0 commit comments

Comments
 (0)