pidgin: b4c7d6be: Verify monotone tag and workspace versio...

elb at pidgin.im elb at pidgin.im
Sun Aug 24 23:15:40 EDT 2008


-----------------------------------------------------------------
Revision: b4c7d6bea651d8b972ccc14cd2ebd19750e66497
Ancestor: cf8db23d7b42aecd4fb9381a9b99115c6c898feb
Author: elb at pidgin.im
Date: 2008-08-25T03:09:33
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b4c7d6bea651d8b972ccc14cd2ebd19750e66497

Modified files:
        Makefile.am

ChangeLog: 

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.

-------------- next part --------------
============================================================
--- Makefile.am	94f0e56942107e9dceb32123ee58e8d6a7f7ed0f
+++ Makefile.am	b1b394e8e8c3f5daa699517a95de42d287a3eb2d
@@ -30,9 +30,13 @@ distcheck-hook: libpurple/plugins/perl/c
 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


More information about the Commits mailing list