Skip to content

Commit

Permalink
Fix serving bleeding edge cloud storage.
Browse files Browse the repository at this point in the history
  • Loading branch information
sortie committed Dec 7, 2022
1 parent 3750f95 commit f86b09d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/scripts/redirector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f86b09d

Please sign in to comment.