From c220de72ed06ec407cee87d7cc609351a5f7b2cb Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Tue, 8 Dec 2020 09:30:58 +0100 Subject: [PATCH] Don't fail when a package gets updated during a build If there is a new version it's not a duplicate --- autobuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autobuild.py b/autobuild.py index 01f1f00..e07c061 100644 --- a/autobuild.py +++ b/autobuild.py @@ -385,7 +385,7 @@ def run_build(args: Any) -> None: if not todo: break pkg, build_type = todo[0] - key = pkg['repo'] + build_type + pkg['name'] + key = pkg['repo'] + build_type + pkg['name'] + pkg['version'] if key in done: raise SystemExit("ERROR: building package again in the same run", pkg) done.add(key)