chore: changelog fix in workflows
This commit is contained in:
@@ -77,7 +77,7 @@ jobs:
|
|||||||
for category in "feat: Features" "fix: Bug Fixes" "docs: Documentation" "chore: Chores"; do
|
for category in "feat: Features" "fix: Bug Fixes" "docs: Documentation" "chore: Chores"; do
|
||||||
prefix="${category%%:*}"
|
prefix="${category%%:*}"
|
||||||
title="${category##*: }"
|
title="${category##*: }"
|
||||||
entries=$(git log $range --pretty=format:"- %s" --grep="^$prefix" --no-merges)
|
entries=$(git log $range --pretty=format:"%B" --no-merges | grep "^$prefix" | sed "s/^$prefix:/- /")
|
||||||
# echo -e "Found:\n\n$entries\n\n"
|
# echo -e "Found:\n\n$entries\n\n"
|
||||||
if [[ -n "$entries" ]]; then
|
if [[ -n "$entries" ]]; then
|
||||||
body="$body\n\n### $title\n$entries"
|
body="$body\n\n### $title\n$entries"
|
||||||
|
|||||||
Reference in New Issue
Block a user