chore: fetch-depth 0 - all history for changelog
All checks were successful
Release / release (push) Successful in 55s
All checks were successful
Release / release (push) Successful in 55s
This commit is contained in:
@@ -12,6 +12,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Java 21
|
- name: Set up Java 21
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
@@ -72,13 +74,12 @@ jobs:
|
|||||||
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:"- %s" --grep="^$prefix" --no-merges)
|
||||||
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"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo -e "$body"
|
|
||||||
echo -e "$body" > /tmp/release_notes.md
|
echo -e "$body" > /tmp/release_notes.md
|
||||||
|
|
||||||
- name: Create Gitea Release
|
- name: Create Gitea Release
|
||||||
|
|||||||
Reference in New Issue
Block a user