Check for version differences on release.

This commit is contained in:
Bastian Kleineidam 2015-12-07 12:29:07 +01:00
parent e44b17a47a
commit c63395c2aa
1 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,11 @@ releasecheck: test check
@if egrep -i "xx\.|xxxx|\.xx" doc/changelog.txt > /dev/null; then \
echo "Could not release: edit doc/changelog.txt release date"; false; \
fi
@if ! head -n1 doc/changelog.txt | egrep "^$(VERSION)" >/dev/null; then \
echo "Could not release: different versions in doc/changelog.txt and setup.py"; \
echo "Version in doc/changelog.txt:"; head -n1 doc/changelog.txt; \
echo "Version in setup.py: $(VERSION)"; false; \
fi
# @if [ ! -f ../$(ARCHIVE_WIN32) ]; then \
# echo "Missing WIN32 distribution archive at ../$(ARCHIVE_WIN32)"; \
# false; \