mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
Pass --always to git describe to ensure we always get a version
number. Hopefully fixes travis-ci. See #1287
This commit is contained in:
parent
e908b731ab
commit
35f2302352
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ then
|
|||
VN=$(cat version) || VN="$DEF_VER"
|
||||
elif test -d .git -o -f .git && type git >/dev/null
|
||||
then
|
||||
VN=$(git describe --dirty 2>/dev/null)
|
||||
VN=$(git describe --always --dirty 2>/dev/null)
|
||||
else
|
||||
VN="$DEF_VER"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue