mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +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"
|
VN=$(cat version) || VN="$DEF_VER"
|
||||||
elif test -d .git -o -f .git && type git >/dev/null
|
elif test -d .git -o -f .git && type git >/dev/null
|
||||||
then
|
then
|
||||||
VN=$(git describe --dirty 2>/dev/null)
|
VN=$(git describe --always --dirty 2>/dev/null)
|
||||||
else
|
else
|
||||||
VN="$DEF_VER"
|
VN="$DEF_VER"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue