From f456f471d20934780b6e0e40d8573c52ec934a50 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sat, 7 Dec 2024 11:55:05 +0100 Subject: [PATCH] tools: use commit title as PR title when creating release proposal --- tools/actions/create-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/actions/create-release.sh b/tools/actions/create-release.sh index e3cfd76952a18b..455fc8ec2b895a 100755 --- a/tools/actions/create-release.sh +++ b/tools/actions/create-release.sh @@ -28,7 +28,7 @@ git node release --prepare --skipBranchDiff --yes --releaseDate "$RELEASE_DATE" HEAD_BRANCH="$(git rev-parse --abbrev-ref HEAD)" HEAD_SHA="$(git rev-parse HEAD^)" -TITLE=$(awk "/^## ${RELEASE_DATE}/ { print substr(\$0, 4) }" "doc/changelogs/CHANGELOG_V${RELEASE_LINE}.md") +TITLE="$(git log -1 --format=%s)" # Use a temporary file for the PR body TEMP_BODY="$(awk "/## ${RELEASE_DATE}/,/^