mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
release.sh: use stdin for release commit message (#14832)
v0.5.0 has too many commits since v0.4.0. "git commit -m" triggers "Argument list too long" error.
This commit is contained in:
parent
c78816eb66
commit
a72dfec855
@ -64,10 +64,9 @@ _do_release_commit() {
|
||||
|
||||
if ! test "$ARG1" = '--use-current-commit' ; then
|
||||
echo "Building changelog since ${__LAST_TAG}..."
|
||||
__CHANGELOG="$(./scripts/git-log-pretty-since.sh "$__LAST_TAG" 'vim-patch:[^[:space:]]')"
|
||||
|
||||
git add CMakeLists.txt
|
||||
git commit --edit -m "${__RELEASE_MSG} ${__CHANGELOG}"
|
||||
(echo "${__RELEASE_MSG}"; ./scripts/git-log-pretty-since.sh "$__LAST_TAG" 'vim-patch:[^[:space:]]') | git commit --edit -F -
|
||||
fi
|
||||
|
||||
git tag --sign -a v"${__VERSION}" -m "NVIM v${__VERSION}"
|
||||
|
Loading…
Reference in New Issue
Block a user