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:
commit
9ad904e0ca
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue