diff --git a/gui/version.sh b/gui/version.sh
index 541ebc0dc255250c165e714609d5b8d9d9875bb3..b99ff04c701242e2c66c33f571c69907a441e8b8 100755
--- a/gui/version.sh
+++ b/gui/version.sh
@@ -1,4 +1,4 @@
 #!/bin/sh
-version=`git describe --all`
+version=`git rev-parse --verify HEAD`
 sed -i -e "s/nomad-gui-version-placeholder/$version/g" package.json
 rm -f package.json-e