diff --git a/version-gen.sh b/version-gen.sh
index 82428e54cac8c6d39c2817146b6605a0c3ce0926..6b5e40e5c90cbfd883b5a810005b8cbfd9a436b8 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
#!/usr/bin/env bash
#!/usr/bin/env bash
-DEFAULT_VERSION="5.2.2.git"
+DEFAULT_VERSION="5.4.1.git"
-VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
+VERSION="`git describe 2> /dev/null | grep collectd | sed -e 's/^collectd-//'`"
if test -z "$VERSION"; then
VERSION="$DEFAULT_VERSION"
if test -z "$VERSION"; then
VERSION="$DEFAULT_VERSION"