Commits

Piotr Findeisen  committed 6b3bc2b

versioning more robust

  • Participants
  • Parent commits 5003d2a

Comments (0)

Files changed (1)

File 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"