summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7618722)
raw | patch | inline | side by side (parent: 7618722)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 11 Mar 2010 18:10:30 +0000 (19:10 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 11 Mar 2010 18:10:30 +0000 (19:10 +0100) |
version-gen.sh | patch | blob | history |
diff --git a/version-gen.sh b/version-gen.sh
index 8797e49673f730de5fdb3380b5c90672e1800264..a54f2af2fdaec5e36a91847c3b8f2268535de5be 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
DEFAULT_VERSION="0.0.0.git"
-VERSION="$( git describe 2> /dev/null | sed -e 's/foobar-//' )"
+VERSION="$( git describe --tags 2> /dev/null | sed -e 's/foobar-//' )"
if test -z "$VERSION"; then
VERSION="$DEFAULT_VERSION"