From 3c19f8ebdfb589aa567b6ca78c48a7b20685776b Mon Sep 17 00:00:00 2001 From: Marius Date: Wed, 22 Feb 2017 12:49:20 +0100 Subject: [PATCH] Use tag pointing at head as version --- .scripts/build_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/build_funcs.sh b/.scripts/build_funcs.sh index 67ee1fe..0fe61b6 100755 --- a/.scripts/build_funcs.sh +++ b/.scripts/build_funcs.sh @@ -2,7 +2,7 @@ set -e -version=$(git rev-parse --abbrev-ref HEAD) +version="$(git tag -l --points-at HEAD)" commit=$(git log --format="%H" -n 1) function compile {