From 0279efa21e5c754dbf525c7430fdbfcb9f5c1639 Mon Sep 17 00:00:00 2001 From: CaelTheColher <16297430+CaelTheColher@users.noreply.github.com> Date: Tue, 14 Feb 2023 03:42:41 -0300 Subject: [PATCH] Its over --- fabric/build.gradle | 2 +- forge/build.gradle | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fabric/build.gradle b/fabric/build.gradle index 02a9ad5..2d27ab9 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -172,7 +172,7 @@ tasks.register('github') { def github = GitHub.connectUsingOAuth(env.GITHUB_TOKEN as String) def repository = github.getRepository(env.GITHUB_REPOSITORY) - def releaseBuilder = new GHReleaseBuilder(repository, version as String) + def releaseBuilder = new GHReleaseBuilder(repository, "fabric-" + version as String) releaseBuilder.name(DISPLAY_NAME) releaseBuilder.body(getChangeLog()) releaseBuilder.commitish(getBranch()) diff --git a/forge/build.gradle b/forge/build.gradle index c332c34..f82f166 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -125,13 +125,12 @@ static def getChangeLog() { curseforge { String token = System.getenv("CURSEFORGE_API_KEY") apiKey = token == null || token.isEmpty() ? "unset" : token - String gameVersion = minecraft_version project { id = curseforge_id changelog = getChangeLog() releaseType = "beta" addGameVersion("Forge") - addGameVersion(gameVersion) + addGameVersion(minecraft_version) relations { requiredDependency("kotlin-for-forge") } @@ -189,7 +188,7 @@ tasks.register('github') { def github = GitHub.connectUsingOAuth(env.GITHUB_TOKEN as String) def repository = github.getRepository(env.GITHUB_REPOSITORY) - def releaseBuilder = new GHReleaseBuilder(repository, version as String) + def releaseBuilder = new GHReleaseBuilder(repository, "forge-" + version as String) releaseBuilder.name(DISPLAY_NAME) releaseBuilder.body(getChangeLog()) releaseBuilder.commitish(getBranch())