Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 28a4b6f

Browse filesBrowse files
committed
tools: use commit title as PR title when creating release proposal
PR-URL: #56165 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent a0e3926 commit 28a4b6f
Copy full SHA for 28a4b6f

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎tools/actions/create-release.sh‎

Copy file name to clipboardExpand all lines: tools/actions/create-release.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ git node release --prepare --skipBranchDiff --yes --releaseDate "$RELEASE_DATE"
2929
HEAD_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
3030
HEAD_SHA="$(git rev-parse HEAD^)"
3131

32-
TITLE=$(awk "/^## ${RELEASE_DATE}/ { print substr(\$0, 4) }" "doc/changelogs/CHANGELOG_V${RELEASE_LINE}.md")
32+
TITLE="$(git log -1 --format=%s)"
3333

3434
# Use a temporary file for the PR body
3535
TEMP_BODY="$(awk "/## ${RELEASE_DATE}/,/^<a id=/{ if (!/^<a id=/) print }" "doc/changelogs/CHANGELOG_V${RELEASE_LINE}.md")"
@@ -56,7 +56,7 @@ node --input-type=module - \
5656
"$GITHUB_REPOSITORY" \
5757
"$HEAD_BRANCH" \
5858
"$HEAD_SHA" \
59-
"$(git log -1 HEAD --format=%s || true)" \
59+
"$TITLE" \
6060
"$(git log -1 HEAD --format=%b | awk -v PR_URL="$PR_URL" '{sub(/^PR-URL: TODO$/, "PR-URL: " PR_URL)} 1' || true)" \
6161
"$(git show HEAD --diff-filter=d --name-only --format= || true)" \
6262
"$(git show HEAD --diff-filter=D --name-only --format= || true)" \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.