From fd21661836f9da5262c4d784e14ab6944b796878 Mon Sep 17 00:00:00 2001 From: Andrii Soldatenko Date: Tue, 26 Nov 2024 11:27:44 +0100 Subject: [PATCH] fixup branch sorting for automatic pr (#4102) (#4103) --- hack/build/ci/update-e2e-ondemand-pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/build/ci/update-e2e-ondemand-pipeline.py b/hack/build/ci/update-e2e-ondemand-pipeline.py index 6157a800f0..f25d6d330b 100644 --- a/hack/build/ci/update-e2e-ondemand-pipeline.py +++ b/hack/build/ci/update-e2e-ondemand-pipeline.py @@ -9,7 +9,7 @@ version = "" # read versions to list with open(version_file, "r") as f: - version = f.readline().strip().replace("origin/", "") + version = [v.strip().replace("origin/", "") for v in f.readlines()][-1] yaml = YAML() yaml.width = 4096