diff options
author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2022-07-22 16:10:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-22 07:10:24 -0700 |
commit | 790f8b0e167c7015f1486d4bcab0083f42017ac3 (patch) | |
tree | 3a0d1a25944b794ca2365e677c1eb9e433402522 /scripts/vim-patch.sh | |
parent | 3f2e1c1db94e10d4c84d0d7be726419a793b079c (diff) | |
download | rneovim-790f8b0e167c7015f1486d4bcab0083f42017ac3.tar.gz rneovim-790f8b0e167c7015f1486d4bcab0083f42017ac3.tar.bz2 rneovim-790f8b0e167c7015f1486d4bcab0083f42017ac3.zip |
fix(build): non-git ("tarball") build fails #19448
Problem:
Build fails without git or .git/.
ref #19289
Solution:
Fix the version generation logic.
Test cases:
If `git` is missing:
-- Using NVIM_VERSION_MEDIUM: v0.8.0-dev
If `.git/` is missing:
-- Git tag extraction failed:
fatal: not a git repository (or any of the parent directories): .git
-- Using NVIM_VERSION_MEDIUM: v0.8.0-dev
If `git describe` fails
-- Git tag extraction failed:
fatal: ...
-- Using NVIM_VERSION_MEDIUM: v0.8.0-dev
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'scripts/vim-patch.sh')
0 files changed, 0 insertions, 0 deletions