Skip to content
Snippets Groups Projects
Commit 6920dd27 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Makefile: Stricter checks for release distchecks


This should avoid cases like commit f64de30f where the release
date was forgotten from NEWS.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 3f2ad566
No related branches found
No related tags found
No related merge requests found
......@@ -662,6 +662,15 @@ distcheck-hook:
echo "Found backup files in final archive." 1>&2; \
exit 1; \
fi
if test -n "$(BUILD_RELEASE)" && \
grep -n -H -E '^\*.*unreleased' $(top_distdir)/NEWS; then \
echo "Found unreleased version in NEWS." >&2; \
exit 1; \
fi
# When building a release, stricter checks should be used
distcheck-release: export BUILD_RELEASE = 1
distcheck-release: distcheck
install-exec-local:
@mkdir_p@ "$(DESTDIR)${localstatedir}/lib/ganeti" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment