From: Barış Metin Date: Mon, 3 Jan 2011 15:08:49 +0000 (+0100) Subject: Merge branch 'master' of git.onelab.eu:/git/build X-Git-Tag: 5.0-rc18~134^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a06b5c9e297c93cf111de9172a1c6cb2303bf564;hp=f1e85f10f998c41c8974e319e1f950edf4e35aa4;p=build.git Merge branch 'master' of git.onelab.eu:/git/build --- diff --git a/module-tools.py b/module-tools.py index ec7e1be2..b2db88e0 100755 --- a/module-tools.py +++ b/module-tools.py @@ -1249,7 +1249,13 @@ def modules_diff(first, second): return diff, new_modules, removed_modules -def release_changelog(options, buildtag_old, buildtag_new, tagfile): +def release_changelog(options, buildtag_old, buildtag_new): + + tagfile = options.distrotags[0] + if not tagfile: + print "ERROR: provide a tagfile name (eg. onelab, onelab-k27, planetlab)" + return + tagfile = "%s-tags.mk" % tagfile print '= build tag %s to %s =' % (buildtag_old, buildtag_new) print '== distro %s (%s to %s) ==' % (tagfile, buildtag_old, buildtag_new)