Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! build: add create re…
Browse files Browse the repository at this point in the history
…lease proposal action
  • Loading branch information
nodejs-github-bot committed Nov 18, 2024
1 parent fee2f6d commit 4800a3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/actions/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ TITLE=$(awk "/^## ${RELEASE_DATE}/ { print substr(\$0, 4) }" "doc/changelogs/CHA
TEMP_BODY=$(mktemp)
awk "/## ${RELEASE_DATE}/,/^<a id=/{ if (!/^<a id=/) print }" "doc/changelogs/CHANGELOG_V${RELEASE_LINE}.md" > "$TEMP_BODY"

gh pr create --title "$TITLE" --body-file "$TEMP_BODY"
# For --head explanation, see: https://github.com/cli/cli/issues/6485
gh pr create --title "$TITLE" --body-file "$TEMP_BODY" --head $(git branch --show-current)

Check failure on line 28 in tools/actions/create-release.sh

View workflow job for this annotation

GitHub Actions / lint-sh

/home/runner/work/node/node/tools/actions/create-release.sh:28:63: Quote this to prevent word splitting.

Check failure on line 28 in tools/actions/create-release.sh

View workflow job for this annotation

GitHub Actions / lint-sh

/home/runner/work/node/node/tools/actions/create-release.sh:28:65: Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).

rm "$TEMP_BODY"
# TODO: amend with proposal PR

0 comments on commit 4800a3f

Please sign in to comment.