mirror of
https://github.com/neovim/neovim.git
synced 2025-11-21 17:46:30 +00:00
Merge pull request #19512 from dundargoc/build/version-fix
build: fix version generation to its previous behavior
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user