summaryrefslogtreecommitdiffstats
path: root/xmrstak/version.cpp
diff options
context:
space:
mode:
authorUnknown <fireice2@o2.pl>2017-11-13 19:56:41 +0000
committerUnknown <fireice2@o2.pl>2017-11-13 19:56:41 +0000
commitb48ca65c0bfd9b9ccda1083d2955c75ff9c10092 (patch)
treea40277d66ac896f15bd54c80eb9c4665bd793aa4 /xmrstak/version.cpp
parentf0875b614c6fe77a70af443052cef07756e135b4 (diff)
downloadxmr-stak-b48ca65c0bfd9b9ccda1083d2955c75ff9c10092.zip
xmr-stak-b48ca65c0bfd9b9ccda1083d2955c75ff9c10092.tar.gz
Add version to web and json
Diffstat (limited to 'xmrstak/version.cpp')
-rw-r--r--xmrstak/version.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmrstak/version.cpp b/xmrstak/version.cpp
index 3cecc8f..3b8a19d 100644
--- a/xmrstak/version.cpp
+++ b/xmrstak/version.cpp
@@ -45,6 +45,8 @@
#define VERSION_LONG XMR_STAK_NAME "/" XMR_STAK_VERSION "/" XMRSTAK_PP_TOSTRING(GIT_COMMIT_HASH) "/" XMRSTAK_PP_TOSTRING(GIT_BRANCH) "/" OS_TYPE "/" XMRSTAK_PP_TOSTRING(BACKEND_TYPE) "/" COIN_TYPE "/"
#define VERSION_SHORT XMR_STAK_NAME " " XMR_STAK_VERSION " " XMRSTAK_PP_TOSTRING(GIT_COMMIT_HASH)
+#define VERSION_HTML "v" XMR_STAK_VERSION "-" XMRSTAK_PP_TOSTRING(GIT_COMMIT_HASH)
const char ver_long[] = VERSION_LONG;
const char ver_short[] = VERSION_SHORT;
+const char ver_html[] = VERSION_HTML;
OpenPOWER on IntegriCloud