mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #19512 from dundargoc/build/version-fix
build: fix version generation to its previous behavior
This commit is contained in:
commit
cbfae548e8
@ -7,7 +7,7 @@ set(NVIM_VERSION_MEDIUM
|
|||||||
"v${NVIM_VERSION_MAJOR}.${NVIM_VERSION_MINOR}.${NVIM_VERSION_PATCH}${NVIM_VERSION_PRERELEASE}")
|
"v${NVIM_VERSION_MAJOR}.${NVIM_VERSION_MINOR}.${NVIM_VERSION_PATCH}${NVIM_VERSION_PRERELEASE}")
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND git describe --first-parent --tags --always --dirty
|
COMMAND git describe --first-parent --dirty
|
||||||
OUTPUT_VARIABLE GIT_TAG
|
OUTPUT_VARIABLE GIT_TAG
|
||||||
ERROR_VARIABLE ERR
|
ERROR_VARIABLE ERR
|
||||||
RESULT_VARIABLE RES
|
RESULT_VARIABLE RES
|
||||||
|
Loading…
Reference in New Issue
Block a user