fix: workflow errorcode 1 by grep
Some checks failed
Release / release (push) Failing after 1m29s

This commit is contained in:
2025-08-05 00:01:12 +02:00
parent 2e6664551e
commit 65666178d2
2 changed files with 2 additions and 3 deletions

View File

@@ -77,8 +77,7 @@ jobs:
for category in "feat: Features" "fix: Bug Fixes" "docs: Documentation" "chore: Chores"; do
prefix="${category%%:*}"
title="${category##*: }"
entries=$(git log $range --pretty=format:"%B" --no-merges | grep "^$prefix" | sed "s/^$prefix:/- /")
# echo -e "Found:\n\n$entries\n\n"
entries=$(git log $range --pretty=format:"%B" --no-merges | grep "^${prefix}" || true | sed "s/^${prefix}:/- /")
if [[ -n "$entries" ]]; then
body="$body\n\n### $title\n$entries"
fi

View File

@@ -156,7 +156,7 @@ gradle.taskGraph.whenReady { taskGraph ->
\u001B[36m
Project : ${project.name}
Version : ${project.version}
Version : ${version}
\u001B[0m
"""
println banner