Store commit hash and handle prerelease vor all automation tools.

This commit is contained in:
chriseth
2016-08-26 10:14:44 +02:00
parent 54ab787b83
commit 4588eda622
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -23,6 +23,7 @@ endif()
# If it does not exist, create our own prerelease string
if (EXISTS ${ETH_SOURCE_DIR}/prerelease.txt)
file(READ ${ETH_SOURCE_DIR}/prerelease.txt SOL_VERSION_PRERELEASE)
string(STRIP ${SOL_VERSION_PRERELEASE} SOL_VERSION_PRERELEASE)
else()
string(TIMESTAMP SOL_VERSION_PRERELEASE "develop.%Y.%m.%d" UTC)
endif()