From e198ddff072166876f62bf837cf383fc7b597ba4 Mon Sep 17 00:00:00 2001 From: "trop[bot]" Date: Wed, 13 Feb 2019 12:12:06 -0500 Subject: [PATCH] build: ensure that the uploaded symbol path is correct for our symbol server (#16913) --- script/upload-symbols.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/upload-symbols.py b/script/upload-symbols.py index ca1a393339a4..fb641754ccf6 100755 --- a/script/upload-symbols.py +++ b/script/upload-symbols.py @@ -34,6 +34,11 @@ def main(): files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb') else: files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym') + + # The file upload needs to be atom-shell/symbols/:symbol_name/:hash/:symbol + os.chdir(SYMBOLS_DIR) + files = [os.path.relpath(f, os.getcwd()) for f in files] + # The symbol server needs lowercase paths, it will fail otherwise # So lowercase all the file paths here files = [f.lower() for f in files]