From ee2a9560e51609a48e6da05420517294eba081fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 3 Jan 2011 16:02:15 +0100 Subject: [PATCH] use distrotags option --- module-tools.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) -- 2.47.0