diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2015-01-11 13:50:54 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-01-20 10:12:25 +0100 |
commit | af7e7cdd8f35b9c1b2a428ff8c6686e5b36a213a (patch) | |
tree | 0e7e93a3f932eb4463b777c8a7dd0425dc29a3a9 /CMakeLists.txt | |
parent | 80022bf04affc360058aab1422d3ad59577d896e (diff) | |
download | fork-ledger-af7e7cdd8f35b9c1b2a428ff8c6686e5b36a213a.tar.gz fork-ledger-af7e7cdd8f35b9c1b2a428ff8c6686e5b36a213a.tar.bz2 fork-ledger-af7e7cdd8f35b9c1b2a428ff8c6686e5b36a213a.zip |
Add pre-release info to --version output
Bump version to 3.1.1-alpha.1
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b7e7e920..da075cde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,8 @@ PROJECT(ledger) set(Ledger_VERSION_MAJOR 3) set(Ledger_VERSION_MINOR 1) -set(Ledger_VERSION_PATCH 0) +set(Ledger_VERSION_PATCH 1) +set(Ledger_VERSION_PRERELEASE "-alpha.1") set(Ledger_VERSION_DATE 20141005) enable_testing() @@ -270,7 +271,7 @@ include (InstallRequiredSystemLibraries) set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.md") set (CPACK_PACKAGE_VERSION_MAJOR "${Ledger_VERSION_MAJOR}") set (CPACK_PACKAGE_VERSION_MINOR "${Ledger_VERSION_MINOR}") -set (CPACK_PACKAGE_VERSION_PATCH "${Ledger_VERSION_PATCH}") +set (CPACK_PACKAGE_VERSION_PATCH "${Ledger_VERSION_PATCH}${Ledger_VERSION_PRERELEASE}") set (CPACK_GENERATOR "TBZ2") set (CPACK_SOURCE_GENERATOR "TBZ2") |