mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch.sh: review_commit: Fix regex for vim version
067bb1e9f
changed the commit format to include a brief description in
the summary line of the commit.
This commit is contained in:
parent
56af2f8c5f
commit
44a284d71c
@ -427,7 +427,7 @@ review_commit() {
|
||||
local nvim_patch
|
||||
nvim_patch="$(curl -Ssf "${nvim_patch_url}")"
|
||||
local vim_version
|
||||
vim_version="$(head -n 4 <<< "${nvim_patch}" | sed -n 's/'"${git_patch_prefix}"'vim-patch:\([a-z0-9.]*\)$/\1/p')"
|
||||
vim_version="$(head -n 4 <<< "${nvim_patch}" | sed -n 's/'"${git_patch_prefix}"'vim-patch:\([a-z0-9.]*\)\(:.*\)\{0,1\}$/\1/p')"
|
||||
|
||||
echo
|
||||
if [[ -n "${vim_version}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user