Compare commits

...

4 Commits

Author SHA1 Message Date
github-actions[bot] 483a2918d3 🆙 Bump version to 4.1.3 [skip ci] 2026-04-18 11:07:17 +00:00
DuckieTM 3208b71ffc Merge pull request #84 from medievalshell/Dev
Fix
2026-04-18 13:06:21 +02:00
Medievalshell 69359f6fea Merge branch 'duckietm:main' into Dev 2026-04-18 12:47:56 +02:00
medievalshell 22825d1d69 fix to not show all commits at once 2026-04-18 12:47:28 +02:00
2 changed files with 10 additions and 13 deletions
+9 -12
View File
@@ -50,25 +50,22 @@ jobs:
git commit -m "🆙 Bump version to ${{ steps.bump.outputs.new_version }} [skip ci]"
git push origin HEAD:main
- name: Generate release notes from commits
- name: Generate release notes from latest commit
working-directory: ${{ github.workspace }}
env:
NEW_TAG: v${{ steps.bump.outputs.new_version }}
TRIGGER_SHA: ${{ github.sha }}
run: |
PREV_TAG=$(git tag --sort=-creatordate | head -n1 || true)
NEW_TAG="v${{ steps.bump.outputs.new_version }}"
if [ -z "$PREV_TAG" ]; then
RANGE="HEAD"
COMPARE_LINE=""
else
RANGE="${PREV_TAG}..HEAD"
COMPARE_LINE="**Full Changelog**: https://github.com/${{ github.repository }}/compare/${PREV_TAG}...${NEW_TAG}"
fi
{
echo "## What's Changed in ${NEW_TAG}"
echo "## What's Changed"
echo ""
git log --no-merges --pretty=format:"### %s%n%n%b%n---" $RANGE
git log -1 --pretty=format:"### %s%n%n%b" "$TRIGGER_SHA"
echo ""
echo ""
[ -n "$COMPARE_LINE" ] && echo "$COMPARE_LINE"
if [ -n "$PREV_TAG" ]; then
echo "**Full Changelog**: https://github.com/${{ github.repository }}/compare/${PREV_TAG}...${NEW_TAG}"
fi
} > release_notes.md
cat release_notes.md
+1 -1
View File
@@ -6,7 +6,7 @@
<groupId>com.eu.habbo</groupId>
<artifactId>Habbo</artifactId>
<version>4.1.2</version>
<version>4.1.3</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>