mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
update doc version
and remove --dirty from git-describe-based versioning
This commit is contained in:
@@ -11,7 +11,7 @@ find_package(Git)
|
||||
if (Git_FOUND)
|
||||
# based on https://github.com/nocnokneo/cmake-git-versioning-example
|
||||
execute_process(
|
||||
COMMAND ${GIT_EXECUTABLE} describe --tags --dirty --match "v*"
|
||||
COMMAND ${GIT_EXECUTABLE} describe --tags --match "v*"
|
||||
OUTPUT_VARIABLE GIT_DESCRIBE_VERSION
|
||||
RESULT_VARIABLE GIT_DESCRIBE_ERROR_CODE
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
MSCP
|
||||
====
|
||||
|
||||
:Date: v0.1.2-14-g24617d2
|
||||
:Date: v0.1.3
|
||||
|
||||
NAME
|
||||
====
|
||||
|
||||
Reference in New Issue
Block a user