X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=version-gen.sh;h=6b5e40e5c90cbfd883b5a810005b8cbfd9a436b8;hb=7cea19815ba24735e91dde1c08a889960b299b62;hp=d6d7bb202ba41f39a806fa6ca22ec9cb22b70961;hpb=1d7439282ad415e7d1630598becae3109c7d2735;p=collectd.git diff --git a/version-gen.sh b/version-gen.sh index d6d7bb20..6b5e40e5 100755 --- a/version-gen.sh +++ b/version-gen.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -DEFAULT_VERSION="5.1.0.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"