Skip to content

Commit 4800a3f

Browse files
fixup! fixup! fixup! fixup! fixup! fixup! fixup! build: add create release proposal action
1 parent fee2f6d commit 4800a3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/actions/create-release.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ TITLE=$(awk "/^## ${RELEASE_DATE}/ { print substr(\$0, 4) }" "doc/changelogs/CHA
2424
TEMP_BODY=$(mktemp)
2525
awk "/## ${RELEASE_DATE}/,/^<a id=/{ if (!/^<a id=/) print }" "doc/changelogs/CHANGELOG_V${RELEASE_LINE}.md" > "$TEMP_BODY"
2626

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

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

0 commit comments

Comments
 (0)