From f86b09d71f7085b6ee6525f8471728e88c572f3e Mon Sep 17 00:00:00 2001 From: Jonas Termansen Date: Wed, 7 Dec 2022 14:48:23 +0100 Subject: [PATCH] Fix serving bleeding edge cloud storage. --- server/scripts/redirector.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/scripts/redirector.py b/server/scripts/redirector.py index a1cfba56..33d8da2c 100644 --- a/server/scripts/redirector.py +++ b/server/scripts/redirector.py @@ -104,7 +104,8 @@ def get_cache_age(self, path): def build_gcs_path(self, version_num, postfix, channel): """Build the path to the information on Google Storage.""" suffix = channel - if channel == 'be': + # Support for bleeding edge versions before git hashes (October 26, 2022). + if channel == 'be' and version_num.isdigit() and len(version_num) != 40: suffix = 'builds' index = version_num.find('.') if index != -1: