Permalink
Browse files

Fix 192770e: Version name in master branch contained a duplicate dash.

  • Loading branch information...
frosch123 committed Apr 13, 2018
1 parent 82d4f6c commit 34cc1f8b7c932f24e07ead8ed4660ec21851931f
Showing with 1 addition and 1 deletion.
  1. +1 −1 findversion.sh
@@ -69,7 +69,7 @@ if [ -d "$ROOT_DIR/.git" ]; then
HASH=`LC_ALL=C git rev-parse --verify HEAD 2>/dev/null`
SHORTHASH=`echo ${HASH} | cut -c1-8`
ISODATE=`LC_ALL=C git show -s --pretty='format:%ci' HEAD | "$AWK" '{ gsub("-", "", $1); print $1 }'`
BRANCH="`git symbolic-ref -q HEAD 2>/dev/null | sed 's@.*/@@;s@^master$@@'`"
BRANCH="`git symbolic-ref -q HEAD 2>/dev/null | sed 's@.*/@@'`"
TAG="`git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null | sed 's@\^0$@@'`"
if [ -n "$TAG" ]; then

0 comments on commit 34cc1f8

Please sign in to comment.