GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: use commit title as PR title when creating release proposal · nodejs/node@d6e1efc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/actions
    • create-release.sh
Expand file treeCollapse file tree
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)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.