Show the patch version in the version string. Fixes issue #825
This commit is contained in:
parent
4c186f15dc
commit
c19580cf9a
@ -3,7 +3,7 @@
|
|||||||
# Version numbers.
|
# Version numbers.
|
||||||
set(CLEMENTINE_VERSION_MAJOR 0)
|
set(CLEMENTINE_VERSION_MAJOR 0)
|
||||||
set(CLEMENTINE_VERSION_MINOR 5)
|
set(CLEMENTINE_VERSION_MINOR 5)
|
||||||
set(CLEMENTINE_VERSION_PATCH 0)
|
set(CLEMENTINE_VERSION_PATCH 3)
|
||||||
|
|
||||||
set(BUILDBOT_REVISION $ENV{BUILDBOT_REVISION})
|
set(BUILDBOT_REVISION $ENV{BUILDBOT_REVISION})
|
||||||
if(BUILDBOT_REVISION)
|
if(BUILDBOT_REVISION)
|
||||||
@ -12,14 +12,13 @@ if(BUILDBOT_REVISION)
|
|||||||
set(CLEMENTINE_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR}.90.r${BUILDBOT_REVISION})
|
set(CLEMENTINE_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR}.90.r${BUILDBOT_REVISION})
|
||||||
set(CLEMENTINE_DEB_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR}.90~r${BUILDBOT_REVISION}~${DEB_DIST})
|
set(CLEMENTINE_DEB_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR}.90~r${BUILDBOT_REVISION}~${DEB_DIST})
|
||||||
else(BUILDBOT_REVISION)
|
else(BUILDBOT_REVISION)
|
||||||
set(CLEMENTINE_VERSION_STRING "${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR}")
|
|
||||||
set(CLEMENTINE_VERSION_SHORT_STRING "${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR}")
|
|
||||||
|
|
||||||
if (CLEMENTINE_VERSION_PATCH)
|
if (CLEMENTINE_VERSION_PATCH)
|
||||||
set(CLEMENTINE_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR}.${CLEMENTINE_VERSION_PATCH})
|
set(CLEMENTINE_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR}.${CLEMENTINE_VERSION_PATCH})
|
||||||
else (CLEMENTINE_VERSION_PATCH)
|
else (CLEMENTINE_VERSION_PATCH)
|
||||||
set(CLEMENTINE_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR})
|
set(CLEMENTINE_VERSION ${CLEMENTINE_VERSION_MAJOR}.${CLEMENTINE_VERSION_MINOR})
|
||||||
endif (CLEMENTINE_VERSION_PATCH)
|
endif (CLEMENTINE_VERSION_PATCH)
|
||||||
set(CLEMENTINE_DEB_VERSION ${CLEMENTINE_VERSION}~${DEB_DIST})
|
set(CLEMENTINE_DEB_VERSION ${CLEMENTINE_VERSION}~${DEB_DIST})
|
||||||
|
set(CLEMENTINE_VERSION_STRING "${CLEMENTINE_VERSION}")
|
||||||
|
set(CLEMENTINE_VERSION_SHORT_STRING "${CLEMENTINE_VERSION}")
|
||||||
endif(BUILDBOT_REVISION)
|
endif(BUILDBOT_REVISION)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user