From 0c32ea90061e36c549c6a2b4fde44576b675e64b Mon Sep 17 00:00:00 2001 From: Adubbz Date: Mon, 20 Nov 2023 12:55:13 +1100 Subject: [PATCH] Remove suffix from changelogs --- .github/workflows/gradle-publish.yml | 1 + Fabric/build.gradle | 2 +- Forge/build.gradle | 2 +- NeoForge/build.gradle | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 5803e8e..3894783 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Set up JDK 17 uses: actions/setup-java@v3 with: diff --git a/Fabric/build.gradle b/Fabric/build.gradle index 2a9529e..a2e5abc 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -96,7 +96,7 @@ modrinth { loaders = ['fabric'] if (changelog_file.exists()) { - changelog = '```\n' + changelog_file.text + '\n```' + changelog = '```\n' + changelog_file.text } dependencies { diff --git a/Forge/build.gradle b/Forge/build.gradle index 3a97719..40ef250 100644 --- a/Forge/build.gradle +++ b/Forge/build.gradle @@ -116,7 +116,7 @@ modrinth { loaders = ['forge'] if (changelog_file.exists()) { - changelog = '```\n' + changelog_file.text + '\n```' + changelog = '```\n' + changelog_file.text } } diff --git a/NeoForge/build.gradle b/NeoForge/build.gradle index 7cceb8b..37ff26b 100644 --- a/NeoForge/build.gradle +++ b/NeoForge/build.gradle @@ -96,7 +96,7 @@ modrinth { loaders = ['neoforge'] if (changelog_file.exists()) { - changelog = '```\n' + changelog_file.text + '\n```' + changelog = '```\n' + changelog_file.text } }