mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Store commit hash and handle prerelease vor all automation tools.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user