Merge pull request #425 from andrewstuart/bugfix/git-version

fix/git-version: Update git-version to use valid docker tag if dirty
This commit is contained in:
bobbyrullo 2016-04-25 14:02:57 -07:00
commit 9ad904e0ca

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