release.sh: fix exclusion pattern [ci skip]

grep support of "\s" pattern is unreliable.
This commit is contained in:
Justin M. Keyes
2019-01-04 06:03:38 +01:00
parent 7436a62168
commit e22bf529c1
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ _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:\S')"
__CHANGELOG="$(./scripts/git-log-pretty-since.sh "$__LAST_TAG" 'vim-patch:[^[:space:]]')"
git add CMakeLists.txt
git commit --edit -m "${__RELEASE_MSG} ${__CHANGELOG}"