[releng] check-latest-build: set new latest when found

Dan Horák sharkcz at fedoraproject.org
Thu Jan 8 11:01:32 UTC 2015


commit 2c346aaca3c59625c55f014615a78624d1045e4a
Author: Dan Horák <dan at danny.cz>
Date:   Thu Jan 8 10:48:27 2015 +0000

    check-latest-build: set new latest when found

 scripts/check-latest-build.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/scripts/check-latest-build.py b/scripts/check-latest-build.py
index 40ac0e0..77d6ad1 100755
--- a/scripts/check-latest-build.py
+++ b/scripts/check-latest-build.py
@@ -94,3 +94,6 @@ for latest in latest_builds:
             if args.fix is True:
                 kojisession.tagBuildBypass(args.tag, b['nvr'], force=True)
                 print("retagged %s to %s" % (b['nvr'], args.tag))
+
+            latest = b
+            latest_evr = (str(latest['epoch']), latest['version'], latest['release'])


More information about the rel-eng mailing list