From 78b44d4ddc4a2b20e8475c237769480fa0855214 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 28 Jan 2012 20:57:19 +0100 Subject: [PATCH] correctly grep for moved version string Signed-off-by: Nico Schottelius --- doc/dev/releasechecklist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/dev/releasechecklist b/doc/dev/releasechecklist index cb6d610d..19ab7b18 100755 --- a/doc/dev/releasechecklist +++ b/doc/dev/releasechecklist @@ -11,7 +11,7 @@ echo "Testing documentation..." ./build clean && ./build man || exit 1 # get version -changelog_version=$(head -n1 doc/changelog | sed 's/:.*//') +changelog_version=$(grep '^[[:digit:]]' doc/changelog | head -n1 | sed 's/:.*//') #git_version=$(git describe) lib_version=$(grep ^VERSION lib/cdist/__init__.py | sed -e 's/.*= //' -e 's/"//g')