diff options
-rwxr-xr-x | scripts/get-version | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get-version b/scripts/get-version index 27f02f640..a063efc9e 100755 --- a/scripts/get-version +++ b/scripts/get-version @@ -18,7 +18,7 @@ os=$1 if [ $# -eq 2 ] && [ "$2" ]; then v0=$2 else - cmd="git describe --tags --abbrev=12" + cmd="git describe --abbrev=12" v0=$($cmd) || v0=$(cat .gitversion) || croak "odd; command '$cmd' failed" fi |