X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=module-tools.py;h=b2db88e0919a8a2c53b63ed6cda4680a9f0a8142;hb=ee2a9560e51609a48e6da05420517294eba081fa;hp=ec7e1be29aa26dad449c578a41af863e5a2f3157;hpb=e530af5b63ece12a90e51ee818455351eef72a89;p=build.git 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)