diff options
author | chriseth <c@ethdev.com> | 2016-09-09 19:59:22 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-09-09 20:23:33 +0800 |
commit | 29ecc6fe31d56feaf5d5a04e84b12138baa0d1e7 (patch) | |
tree | 9c3dc9ae8980bb556a3f18cbd290eb6216e90f1f /cmake/scripts | |
parent | 79867f49b2b27942c465e50475e5e6a0d5a6d897 (diff) | |
download | dexon-solidity-29ecc6fe31d56feaf5d5a04e84b12138baa0d1e7.tar dexon-solidity-29ecc6fe31d56feaf5d5a04e84b12138baa0d1e7.tar.gz dexon-solidity-29ecc6fe31d56feaf5d5a04e84b12138baa0d1e7.tar.bz2 dexon-solidity-29ecc6fe31d56feaf5d5a04e84b12138baa0d1e7.tar.lz dexon-solidity-29ecc6fe31d56feaf5d5a04e84b12138baa0d1e7.tar.xz dexon-solidity-29ecc6fe31d56feaf5d5a04e84b12138baa0d1e7.tar.zst dexon-solidity-29ecc6fe31d56feaf5d5a04e84b12138baa0d1e7.zip |
Remove leading zeroes in prerelease components.
Diffstat (limited to 'cmake/scripts')
-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..5f19df07 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) |