From 9488fd1d5bcb99572e4e335cedb2a92f6572261e Mon Sep 17 00:00:00 2001 From: Michael Hanselmann Date: Fri, 8 Apr 2011 12:21:41 +0200 Subject: [PATCH] Update version in README Also add a check to Makefile's check-local target. Signed-off-by: Michael Hanselmann Reviewed-by: Iustin Pop --- Makefile.am | 5 +++++ README | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index baf8d93..17a6b94 100644 --- a/Makefile.am +++ b/Makefile.am @@ -817,6 +817,11 @@ check-local: check-dirs $(CHECK_PYTHON_CODE) $(check_python_code) $(CHECK_VERSION) $(VERSION) $(top_srcdir)/NEWS $(CHECK_NEWS) < $(top_srcdir)/NEWS + expver=$(VERSION_MAJOR).$(VERSION_MINOR); \ + if test "`head -n 1 README`" != "Ganeti $$expver"; then \ + echo "Incorrect version in README, expected $$expver"; \ + exit 1; \ + fi .PHONY: lint lint: $(BUILT_SOURCES) diff --git a/README b/README index 1d96bae..212e788 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Ganeti 2.2 +Ganeti 2.4 ========== For installation instructions, read the INSTALL and the doc/install.html -- 1.7.10.4