fix/git-version: Update git-version to use valid docker tag if "dirty"

This commit is contained in:
Andrew Stuart 2016-04-21 17:00:26 -07:00
parent 40635754ea
commit fa7a920de9
No known key found for this signature in database
GPG key ID: D409317C5B5ACD4D

View file

@ -15,7 +15,7 @@ fi
# check for changed files (not untracked files)
if [ -n "$(git diff --shortstat 2> /dev/null | tail -n1)" ]; then
VERSION="${VERSION}+dirty"
VERSION="${VERSION}-dirty"
fi
echo $VERSION