# HG changeset patch # User Ethan Blanton # Date 1219633773 0 # Node ID d646735625303de1ddc02a27c604414a5b4e99e4 # Parent 111b464f6845cefbf43172df45c6532d1580f818 Verify monotone tag and workspace version on 'make packages'. This should be expanded to check other version strings, as well (e.g., NEWS and ChangeLog*) when people get the chance. diff -r 111b464f6845 -r d64673562530 Makefile.am --- a/Makefile.am Mon Aug 25 02:46:51 2008 +0000 +++ b/Makefile.am Mon Aug 25 03:09:33 2008 +0000 @@ -30,9 +30,13 @@ distcheck-hook: libpurple/plugins/perl/common/Purple.pm pidgin/plugins/perl/common/Pidgin.pm # cp libpurple/plugins/perl/common/Gaim.pm $(distdir)/libpurple/plugins/perl/common +version-check: + test x`mtn automate select t:v$(PACKAGE_VERSION)` = x`mtn automate get_base_revision_id` + test x`mtn diff | grep -v '^#'` = x + release: distcheck packages -packages: dist-gzip dist-bzip2 +packages: version-check dist-gzip dist-bzip2 gpg -ab pidgin-$(PACKAGE_VERSION).tar.gz gpg -ab pidgin-$(PACKAGE_VERSION).tar.bz2 gpg --verify pidgin-$(PACKAGE_VERSION).tar.gz.asc pidgin-$(PACKAGE_VERSION).tar.gz