From 414013dcfb2f34c59d0e9a264cae63653639d68f Mon Sep 17 00:00:00 2001 From: Elves Vieira Date: Mon, 14 Apr 2025 11:54:17 -0100 Subject: [PATCH] tools: edit create-release-proposal workflow to handle pr body length PR-URL: https://github.com/nodejs/node/pull/57841 Reviewed-By: Rafael Gonzaga Reviewed-By: Antoine du Hamel --- tools/actions/create-release-proposal.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/actions/create-release-proposal.sh b/tools/actions/create-release-proposal.sh index cc5e8b5b783..a17752ece95 100755 --- a/tools/actions/create-release-proposal.sh +++ b/tools/actions/create-release-proposal.sh @@ -31,8 +31,9 @@ HEAD_SHA="$(git rev-parse HEAD^)" TITLE="$(git log -1 --format=%s)" -# Use a temporary file for the PR body -TEMP_BODY="$(awk "/## ${RELEASE_DATE}/,/^ MAX_BODY_LENGTH) {exit 1;} print }" \ + "doc/changelogs/CHANGELOG_V${RELEASE_LINE}.md" || echo "…")" # Create the proposal branch gh api \