aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-01-17 20:32:07 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-01-17 20:39:30 +0800
commit9f9b7fb6f0953558bb671c5385dec9c875eb15f0 (patch)
treed429fb14a846fb5b7b61bd46b09a43b33022185a /docs
parenta466f26c459c8df27b0b25e53b897461fdc8fd63 (diff)
downloaddexon-solidity-9f9b7fb6f0953558bb671c5385dec9c875eb15f0.tar.gz
dexon-solidity-9f9b7fb6f0953558bb671c5385dec9c875eb15f0.tar.zst
dexon-solidity-9f9b7fb6f0953558bb671c5385dec9c875eb15f0.zip
Explain how version numbers are built
Diffstat (limited to 'docs')
-rw-r--r--docs/installing-solidity.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/installing-solidity.rst b/docs/installing-solidity.rst
index d7374717..2a1f5012 100644
--- a/docs/installing-solidity.rst
+++ b/docs/installing-solidity.rst
@@ -216,6 +216,21 @@ Alternatively, you can build for Windows on the command-line, like so:
cmake --build . --config RelWithDebInfo
+The version string in detail
+============================
+
+The Solidity version string contains four parts:
+- the version number
+- pre-release tag, usually set to ``develop.YYYY.MM.DD`` or ``nightly.YYYY.MM.DD``
+- commit in the format of ``commit.GITHASH``
+- platform has arbitrary number of items, containing details about the platform and compiler
+
+If there are local modifications, the commit will be postfixed with ``.mod``.
+
+A relase example: ``0.4.8+commit.60cc1668.Emscripten.clang``.
+
+A pre-release example: ``0.4.9-nightly.2017.1.17+commit.6ecb4aa3.Emscripten.clang``
+
Important information about versioning
======================================