Skip to content

Commit

Permalink
build: ensure that the uploaded symbol path is correct for our symbol…
Browse files Browse the repository at this point in the history
… server (#16915)
  • Loading branch information
trop[bot] authored and John Kleinschmidt committed Feb 13, 2019
1 parent a4babe6 commit 5a8af35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script/upload-symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,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]
Expand Down

0 comments on commit 5a8af35

Please sign in to comment.