aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorBob Summerwill <bob@summerwill.net>2016-08-27 13:58:32 +0800
committerGitHub <noreply@github.com>2016-08-27 13:58:32 +0800
commit91d4fa477c1e2a557baa1650dc02eb9dd3a32c47 (patch)
treef6bc02c7cb0790789cf6533ebb1b6c28ba41b4c1 /libsolidity
parentd14d7109b669a93e0f93784a2e6585c496cd8027 (diff)
parent4588eda622c9ef2cb62252ec12ea7bb9ae057bd1 (diff)
downloaddexon-solidity-91d4fa477c1e2a557baa1650dc02eb9dd3a32c47.tar.gz
dexon-solidity-91d4fa477c1e2a557baa1650dc02eb9dd3a32c47.tar.zst
dexon-solidity-91d4fa477c1e2a557baa1650dc02eb9dd3a32c47.zip
Merge pull request #941 from chriseth/versionString
Version string
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/interface/Version.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/libsolidity/interface/Version.cpp b/libsolidity/interface/Version.cpp
index a846efea..31ba4afc 100644
--- a/libsolidity/interface/Version.cpp
+++ b/libsolidity/interface/Version.cpp
@@ -35,10 +35,8 @@ char const* dev::solidity::VersionNumber = ETH_PROJECT_VERSION;
string const dev::solidity::VersionString =
string(dev::solidity::VersionNumber) +
- "-" +
- string(DEV_QUOTED(ETH_COMMIT_HASH)).substr(0, 8) +
- (ETH_CLEAN_REPO ? "" : "*") +
- "/" DEV_QUOTED(ETH_BUILD_TYPE) "-" DEV_QUOTED(ETH_BUILD_PLATFORM);
+ (string(SOL_VERSION_PRERELEASE).empty() ? "" : "-" + string(SOL_VERSION_PRERELEASE)) +
+ (string(SOL_VERSION_BUILDINFO).empty() ? "" : "+" + string(SOL_VERSION_BUILDINFO));
bytes dev::solidity::binaryVersion()