From a06fade4103341c358234bd21dcee9c15ee1d6c4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 3 Sep 2018 15:30:08 +0200 Subject: bin/seed-build-list, bin/get-package-updates: sort versions if necessary --- bin/get-package-updates | 2 ++ bin/seed-build-list | 2 ++ 2 files changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/get-package-updates b/bin/get-package-updates index a32dfa2..fe9fee7 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -602,6 +602,8 @@ echo 'Done - mark decisions as final.' } | \ mysql_run_query +mysql_sort_versions + # update loop list in database (beware, the packages are expected to be in "build-list", # not "to-be-decided", so we need to run this after moving the packages from "to-be-decided" to the "build-list". mysql_find_build_assignment_loops diff --git a/bin/seed-build-list b/bin/seed-build-list index 5f035ce..0e8c425 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -591,6 +591,8 @@ if ${update}; then } | \ mysql_run_query + mysql_sort_versions + rm -f "${build_list_lock_file}" else cat "${tmp_dir}/update-list" -- cgit v1.2.3-70-g09d2