From c0db0011ec6a600b1de9b97ab375b4574299161d Mon Sep 17 00:00:00 2001 From: Nitish Sakhawalkar Date: Thu, 18 Oct 2018 17:18:35 -0700 Subject: [PATCH] fix: Convert to lower case in upload symbols script (#15258) * fix: Convert to lower case in upload symbols script * fix: Convert to lower case in upload symbols script --- script/upload-symbols.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/upload-symbols.py b/script/upload-symbols.py index d8ba520d4514..156ff415bd72 100755 --- a/script/upload-symbols.py +++ b/script/upload-symbols.py @@ -29,9 +29,11 @@ def main(): for pdb in PDB_LIST: run_symstore(pdb, SYMBOLS_DIR, PRODUCT_NAME) files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb') - files = [f.lower() for f in files] else: files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym') + # The symbol server needs lowercase paths, it will fail otherwise + # So lowercase all the file paths here + files = [f.lower() for f in files] bucket, access_key, secret_key = s3_config() upload_symbols(bucket, access_key, secret_key, files)