mirror of
https://github.com/matrix-construct/construct
synced 2024-11-10 12:01:15 +01:00
configure: Use --broken option on git describe invocations.
This commit is contained in:
parent
a4918a8950
commit
646911dc80
1 changed files with 2 additions and 2 deletions
|
@ -2097,12 +2097,12 @@ RB_VERSION_BRANCH=`$VERSION_BRANCH_CMD`
|
||||||
RB_DEFINE_UNQUOTED([VERSION_BRANCH], ["$RB_VERSION_BRANCH"], [Git branch at configuration time.])
|
RB_DEFINE_UNQUOTED([VERSION_BRANCH], ["$RB_VERSION_BRANCH"], [Git branch at configuration time.])
|
||||||
#CPPDEFINE([RB_VERSION_BRANCH], [`$VERSION_BRANCH_CMD`])
|
#CPPDEFINE([RB_VERSION_BRANCH], [`$VERSION_BRANCH_CMD`])
|
||||||
|
|
||||||
VERSION_TAG_CMD="git describe --tags --abbrev=0 --dirty --always"
|
VERSION_TAG_CMD="git describe --tags --abbrev=0 --dirty --always --broken"
|
||||||
RB_VERSION_TAG=`$VERSION_TAG_CMD`
|
RB_VERSION_TAG=`$VERSION_TAG_CMD`
|
||||||
RB_DEFINE_UNQUOTED([VERSION_TAG], ["$RB_VERSION_TAG"], [Git tag at configuration time.])
|
RB_DEFINE_UNQUOTED([VERSION_TAG], ["$RB_VERSION_TAG"], [Git tag at configuration time.])
|
||||||
#CPPDEFINE([RB_VERSION_TAG], [`$VERSION_TAG_CMD`])
|
#CPPDEFINE([RB_VERSION_TAG], [`$VERSION_TAG_CMD`])
|
||||||
|
|
||||||
VERSION_CMD="git describe --tags --always"
|
VERSION_CMD="git describe --tags --always --broken"
|
||||||
RB_VERSION=`$VERSION_CMD`
|
RB_VERSION=`$VERSION_CMD`
|
||||||
RB_DEFINE_UNQUOTED([VERSION], ["$RB_VERSION"], [Version generated at configuration time.])
|
RB_DEFINE_UNQUOTED([VERSION], ["$RB_VERSION"], [Version generated at configuration time.])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue