build: ensure that the uploaded symbol path is correct for our symbol server (#16913)
This commit is contained in:
parent
b8267e698a
commit
e198ddff07
1 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,11 @@ def main():
|
||||||
files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb')
|
files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb')
|
||||||
else:
|
else:
|
||||||
files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym')
|
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
|
# The symbol server needs lowercase paths, it will fail otherwise
|
||||||
# So lowercase all the file paths here
|
# So lowercase all the file paths here
|
||||||
files = [f.lower() for f in files]
|
files = [f.lower() for f in files]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue