aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-06-16 22:58:54 -0400
committerGitHub <noreply@github.com>2021-06-16 22:58:54 -0400
commita72dfec855c1ed9181f880e4a8cccdd94fadd946 (patch)
treeaffc3bee00a1e78e9ea9dddf3d36ef977d758cd6
parentc78816eb6610dd6c3f3efec29bb00f062dcb02ad (diff)
downloadrneovim-a72dfec855c1ed9181f880e4a8cccdd94fadd946.tar.gz
rneovim-a72dfec855c1ed9181f880e4a8cccdd94fadd946.tar.bz2
rneovim-a72dfec855c1ed9181f880e4a8cccdd94fadd946.zip
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.
-rwxr-xr-xscripts/release.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 5b4902a2d7..4d1484b77a 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -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}"