Skip to content
Snippets Groups Projects
Commit 9ad904e0 authored by bobbyrullo's avatar bobbyrullo
Browse files

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
Branches
No related tags found
No related merge requests found
...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment