fix: remove duplicate --- separator in release notes

Extract changelog now strips trailing --- from CHANGELOG.md sections
This commit is contained in:
zarzet
2026-01-13 23:51:59 +07:00
parent 15acf181d1
commit 125d070cfe

View File

@@ -345,6 +345,8 @@ jobs:
CHANGELOG="See CHANGELOG.md for details."
else
echo "Found changelog content"
# Remove trailing --- separator if present (CHANGELOG uses --- between versions)
CHANGELOG=$(echo "$CHANGELOG" | sed '/^---$/d')
fi
# Save to file for multiline support