Commit 9ad904e0 authored by bobbyrullo's avatar bobbyrullo

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

fix/git-version: Update git-version to use valid docker tag if dirty
parents 4c4f4c03 fa7a920d
...@@ -15,7 +15,7 @@ fi ...@@ -15,7 +15,7 @@ fi
# check for changed files (not untracked files) # check for changed files (not untracked files)
if [ -n "$(git diff --shortstat 2> /dev/null | tail -n1)" ]; then if [ -n "$(git diff --shortstat 2> /dev/null | tail -n1)" ]; then
VERSION="${VERSION}+dirty" VERSION="${VERSION}-dirty"
fi fi
echo $VERSION echo $VERSION
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment