forked from mystiq/dex
fix/git-version: Update git-version to use valid docker tag if "dirty"
This commit is contained in:
parent
40635754ea
commit
fa7a920de9
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
|
||||
|
|
Loading…
Reference in a new issue