From 8f8292282926092a715362fd6ad9d937d0135cb8 Mon Sep 17 00:00:00 2001
From: Allen Gilliland <agilliland@gmail.com>
Date: Fri, 29 Jan 2016 12:15:21 -0800
Subject: [PATCH] use a more accurate representation of the current running
 version of Metabase.

---
 bin/version | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/bin/version b/bin/version
index 0835db2b401..16925539d1d 100755
--- a/bin/version
+++ b/bin/version
@@ -1,11 +1,12 @@
 #!/usr/bin/env bash
 
-# Return the version string used to describe this version of Metabase.
+VERSION="v0.15.0-snapshot"
 
-TAG=$(git name-rev --tags --name-only HEAD)
-TAG=${TAG%^0}
+# dynamically pull more interesting stuff from latest git commit
 HASH=$(git show-ref --head --hash=7 head)            # first 7 letters of hash should be enough; that's what GitHub uses
 BRANCH=$(git rev-parse --abbrev-ref HEAD)
 DATE=$(git log -1 --pretty=%ad --date=short)
 
-echo "$TAG $HASH $BRANCH $DATE"
+
+# Return the version string used to describe this version of Metabase.
+echo "$VERSION $HASH $BRANCH $DATE"
-- 
GitLab