Commits

Anonymous committed 6b3bc2b

versioning more robust

Comments (0)

Files changed (1)

src/version-gen.sh

 #!/bin/bash
 
-git describe 2>/dev/null | grep -qE . || exit 1
-ver=`git describe`
+git describe --always 2>/dev/null | grep -qE . || exit 1
+ver=`git describe --always`
 
 git update-index -q --refresh
 test -z "$(git diff-index --name-only HEAD --)" || ver="$ver-dirty"