mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
build: fix version generation to its previous behavior
This will change the version format from v0.8.0-dev-nightly-12-g1a07044c1 to v0.8.0-dev-698-ga5920e98f Closes https://github.com/neovim/neovim/issues/19499
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