diff options
author | isXander <xandersmith2008@gmail.com> | 2023-05-17 17:54:19 +0100 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-05-17 17:54:19 +0100 |
commit | e51af159ba3eba5ebda976bea1c1957cddeee7c6 (patch) | |
tree | 869ef7515d9094d483ee9dbbf47639d7cadb8cb9 /forge | |
parent | fd7f3b10699be0033374dfc1b5364a7d64ce34d2 (diff) | |
download | YetAnotherConfigLib-e51af159ba3eba5ebda976bea1c1957cddeee7c6.tar.gz YetAnotherConfigLib-e51af159ba3eba5ebda976bea1c1957cddeee7c6.tar.bz2 YetAnotherConfigLib-e51af159ba3eba5ebda976bea1c1957cddeee7c6.zip |
change beta
Diffstat (limited to 'forge')
-rw-r--r-- | forge/build.gradle.kts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/forge/build.gradle.kts b/forge/build.gradle.kts index f1f2721..88e1b5f 100644 --- a/forge/build.gradle.kts +++ b/forge/build.gradle.kts @@ -120,6 +120,7 @@ components["java"].withGroovyBuilder { } val changelogText: String by ext +val isBeta: Boolean by ext val modrinthId: String by project if (modrinthId.isNotEmpty()) { @@ -128,7 +129,7 @@ if (modrinthId.isNotEmpty()) { projectId.set(modrinthId) versionName.set("${project.version} (Forge)") versionNumber.set("${project.version}-forge") - versionType.set("release") + versionType.set(if (isBeta) "beta" else "release") uploadFile.set(tasks["remapJar"]) gameVersions.set(listOf("1.19.4")) loaders.set(listOf("forge")) @@ -148,7 +149,7 @@ if (hasProperty("curseforge.token") && curseforgeId.isNotEmpty()) { }) id = curseforgeId - releaseType = "release" + releaseType = if (isBeta) "beta" else "release" addGameVersion("1.19.4") addGameVersion("Forge") addGameVersion("Java 17") |