chore: Update changelog

This commit is contained in:
Mandresy Randrianarinjaka 2025-02-06 15:49:24 +03:00
parent 825948f4e0
commit b42ec86e23

View File

@ -158,23 +158,23 @@ jobs:
echo "${FEATURES:-No features found.}" echo "${FEATURES:-No features found.}"
echo "" echo ""
echo "### Bug Fixes" echo "### Bug Fixes"
BUG_FIXES=$(echo "$COMMITS" | grep "fix:" | sed -E 's/^([a-f0-9]+) fix: /- (#\1) /g') BUG_FIXES=$(echo "$COMMITS" | grep "fix:" || true | sed -E 's/^([a-f0-9]+) fix: /- (#\1) /g')
echo "${BUG_FIXES:-No bug fixes found.}" echo "${BUG_FIXES:-No bug fixes found.}"
echo "" echo ""
echo "### Refactors" echo "### Refactors"
REFACTOR=$(echo "$COMMITS" | grep "refactor:" | sed -E 's/^([a-f0-9]+) refactor: /- (#\1) /g') REFACTOR=$(echo "$COMMITS" | grep "refactor:" || true | sed -E 's/^([a-f0-9]+) refactor: /- (#\1) /g')
echo "${REFACTOR:-No refactors found.}" echo "${REFACTOR:-No refactors found.}"
echo "" echo ""
echo "### Style Changes" echo "### Style Changes"
STYLE=$(echo "$COMMITS" | grep "style:" | sed -E 's/^([a-f0-9]+) style: /- (#\1) /g') STYLE=$(echo "$COMMITS" | grep "style:" || true | sed -E 's/^([a-f0-9]+) style: /- (#\1) /g')
echo "${STYLE:-No style changes found.}" echo "${STYLE:-No style changes found.}"
echo "" echo ""
echo "### Chores" echo "### Chores"
CHORES=$(echo "$COMMITS" | grep "chore:" | sed -E 's/^([a-f0-9]+) chore: /- (#\1) /g') CHORES=$(echo "$COMMITS" | grep "chore:" || true | sed -E 's/^([a-f0-9]+) chore: /- (#\1) /g')
echo "${CHORES:-No chores found.}" echo "${CHORES:-No chores found.}"
echo "" echo ""
echo "### Miscellaneous" echo "### Miscellaneous"
MISC=$(echo "$COMMITS" | grep -v -E "breaking:|feat:|fix:|refactor:|style:|chore:" | sed -E 's/^([a-f0-9]+) /- (#\1) /g') MISC=$(echo "$COMMITS" | grep -v -E "breaking:|feat:|fix:|refactor:|style:|chore:" || true | sed -E 's/^([a-f0-9]+) /- (#\1) /g')
echo "${MISC:-No miscellaneous changes found.}" echo "${MISC:-No miscellaneous changes found.}"
echo "" echo ""
cat "$CHANGELOG_FILE" cat "$CHANGELOG_FILE"