changeset 353:ab08a415a102

added a packager that only builds tags and not any trunk version
author Bjoern Ricks <bricks@intevation.de>
date Tue, 11 May 2010 12:56:15 +0000
parents b9c7e05aa3d9
children 0970a3cca4a6
files recipes/kde/maemo/tags.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/recipes/kde/maemo/tags.py	Tue May 11 12:08:49 2010 +0000
+++ b/recipes/kde/maemo/tags.py	Tue May 11 12:56:15 2010 +0000
@@ -107,7 +107,8 @@
                 self.tag_rules_revision = tag_rules_revision
                 tag_date, tag_change_count = self.tag_pkg_parameters(tag_url)
                 pkg_revision = (self.pkg_revision_template
-                                % dict(pkg_revision=tag_change_count))
+                                % dict(pkg_revision=tag_change_count,
+                                        rules_revision=revision[1]))
                 return self.revision_packager_cls(self, tag=tag_url,
                                                   pkg_revision=pkg_revision,
                                                   pkg_date=tag_date,
@@ -115,8 +116,8 @@
             else:
                 logging.info("Revision %s has already been packaged.",
                              revision)
-
-        return super(PackageTrack, self).packager_for_new_revision()
+        else:
+            return super(PackageTrack, self).packager_for_new_revision()
 
     def export_sources(self, to_dir):
         if self.tag_url is not None:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)