Merge pull request #19512 from dundargoc/build/version-fix

build: fix version generation to its previous behavior
This commit is contained in:
James McCoy 2022-07-26 06:47:56 -04:00 committed by GitHub
commit cbfae548e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ set(NVIM_VERSION_MEDIUM
"v${NVIM_VERSION_MAJOR}.${NVIM_VERSION_MINOR}.${NVIM_VERSION_PATCH}${NVIM_VERSION_PRERELEASE}")
execute_process(
COMMAND git describe --first-parent --tags --always --dirty
COMMAND git describe --first-parent --dirty
OUTPUT_VARIABLE GIT_TAG
ERROR_VARIABLE ERR
RESULT_VARIABLE RES