diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0743c6..cbd01a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: echo "Could not find minecraft_version in gradle.properties" exit 1 fi - echo "$MC_VERSION" >> GITHUB_ENV + echo "$MC_VERSION" >> $GITHUB_ENV echo "Minecraft version is $MC_VERSION" - name: Pull meta data env: diff --git a/build.gradle b/build.gradle index 2d4a95d..a86baf3 100644 --- a/build.gradle +++ b/build.gradle @@ -196,6 +196,11 @@ def createChangelog() { for (def change : changeList) { // Titlecase the change change = change.substring(0, 1).toUpperCase() + change.substring(1) + change = change.trim() + if (change.split(" ").size() == 1) { + // Skip single word changes as these almost always are not useful + continue + } changelog += "- $change\n" } }