diff --git a/tools/actions/create-release.sh b/tools/actions/create-release.sh index 17878ff2e40d86..1392c4dd458476 100755 --- a/tools/actions/create-release.sh +++ b/tools/actions/create-release.sh @@ -29,7 +29,7 @@ git node release --prepare --skipBranchDiff --yes --releaseDate "$RELEASE_DATE" HEAD_BRANCH="$(git rev-parse --abbrev-ref HEAD)" HEAD_SHA="$(git rev-parse HEAD^)" -TITLE=$(awk "/^## ${RELEASE_DATE}/ { print substr(\$0, 4) }" "doc/changelogs/CHANGELOG_V${RELEASE_LINE}.md") +TITLE="$(git log -1 --format=%s)" # Use a temporary file for the PR body TEMP_BODY="$(awk "/## ${RELEASE_DATE}/,/^