aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authormoneromooo.monero <moneromooo.monero@users.noreply.github.com>2016-12-20 21:13:42 +0000
committermoneromooo.monero <moneromooo.monero@users.noreply.github.com>2016-12-20 21:13:42 +0000
commitf19318fbd13984af19cd062caccc71dec090272c (patch)
tree7bafb4336794441c64cdfe18ecd6bc108bfd7c26 /build.sh
parentaea9c233ccfd7e05da17904b955ab7dfc2c69142 (diff)
downloadmonzero-gui-f19318fbd13984af19cd062caccc71dec090272c.tar.gz
monzero-gui-f19318fbd13984af19cd062caccc71dec090272c.tar.xz
monzero-gui-f19318fbd13984af19cd062caccc71dec090272c.zip
Add git version to the settings page
Useful for bug reports
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 98261b83..c962a7a2 100755
--- a/build.sh
+++ b/build.sh
@@ -45,6 +45,10 @@ elif [ "$platform" == "mingw64" ] || [ "$platform" == "mingw32" ]; then
MONEROD_EXEC=monerod.exe
fi
+# force version update
+get_tag
+echo "var VERSION = \"$VERSIONTAG\"" > version.js
+
cd build
qmake ../monero-wallet-gui.pro "$CONFIG"
make