chore: cleaner release notes (cap changelog, concise initial release)

This commit is contained in:
openhands committed 2026-07-20 20:15:44 +02:00
1 parent 9617e59747
commit cb91fbef6c
1 file changed
+4 -2
+4 -2
View File
@@ -24,9 +24,11 @@ jobs:
PREV_TAG="$(git -C "$BARE" tag --sort=-creatordate | head -2 | tail -1 || echo '')"
if [ -n "$PREV_TAG" ] && [ "$PREV_TAG" != "$VERSION" ]; then
CHANGELOG="$(git -C "$BARE" log --oneline --no-decorate "${PREV_TAG}..${VERSION}")"
CHANGELOG="$(git -C "$BARE" log --oneline --no-decorate --max-count=50 "${PREV_TAG}..${VERSION}")"
[ -z "$CHANGELOG" ] && CHANGELOG="No commit changes since ${PREV_TAG}"
else
CHANGELOG="$(git -C "$BARE" log --oneline --no-decorate "${VERSION}")"
TOTAL="$(git -C "$BARE" rev-list --count "${VERSION}" 2>/dev/null || echo '?')"
CHANGELOG="Initial release of EpicNext-CMS (${TOTAL} commits)."
fi
[ -z "$CHANGELOG" ] && CHANGELOG="Initial release"