Skip to content

Commit

Permalink
fix: whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Feb 5, 2025
1 parent 9fcfd7f commit 32f1a4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down

0 comments on commit 32f1a4b

Please sign in to comment.