build: ensure that the uploaded symbol path is correct for our symbol server (#16914)

This commit is contained in:
trop[bot] 2019-02-13 12:10:54 -05:00 committed by John Kleinschmidt
parent 438a7d8e1e
commit 94a53cdb30

View file

@ -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]