diff options
author | chriseth <chris@ethereum.org> | 2016-09-10 00:01:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-10 00:01:08 +0800 |
commit | 51a98ab84a59fd5fb34378763fd9ed635cf06d8d (patch) | |
tree | 6157a938450843d33de3eb4b25d7a213ec13f7bb /cmake/scripts/buildinfo.cmake | |
parent | 2c4e9ece07216e4077dc94b10104237df0e6114a (diff) | |
parent | 6c757ce4b8b8bef51de77180d1b914453655e238 (diff) | |
download | dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.tar dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.tar.gz dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.tar.bz2 dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.tar.lz dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.tar.xz dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.tar.zst dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.zip |
Merge pull request #1074 from ethereum/noleadingzeros
Remove leading zeroes in prerelease components.
Diffstat (limited to 'cmake/scripts/buildinfo.cmake')
-rw-r--r-- | cmake/scripts/buildinfo.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/scripts/buildinfo.cmake b/cmake/scripts/buildinfo.cmake index e2f8cb3e..f0e39906 100644 --- a/cmake/scripts/buildinfo.cmake +++ b/cmake/scripts/buildinfo.cmake @@ -26,6 +26,7 @@ if (EXISTS ${ETH_SOURCE_DIR}/prerelease.txt) string(STRIP "${SOL_VERSION_PRERELEASE}" SOL_VERSION_PRERELEASE) else() string(TIMESTAMP SOL_VERSION_PRERELEASE "develop.%Y.%m.%d" UTC) + string(REPLACE .0 . SOL_VERSION_PRERELEASE "${SOL_VERSION_PRERELEASE}") endif() if (EXISTS ${ETH_SOURCE_DIR}/commit_hash.txt) |