aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/scripts/buildinfo.cmake
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-09-10 00:01:08 +0800
committerGitHub <noreply@github.com>2016-09-10 00:01:08 +0800
commit51a98ab84a59fd5fb34378763fd9ed635cf06d8d (patch)
tree6157a938450843d33de3eb4b25d7a213ec13f7bb /cmake/scripts/buildinfo.cmake
parent2c4e9ece07216e4077dc94b10104237df0e6114a (diff)
parent6c757ce4b8b8bef51de77180d1b914453655e238 (diff)
downloaddexon-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.cmake1
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)