Skip to content

Commit 1a41e19

Browse files
trop[bot]John Kleinschmidt
authored andcommitted
build: ensure that the uploaded symbol path is correct for our symbol server (electron#16916)
1 parent 4f63509 commit 1a41e19

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

script/upload-symbols.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ def main():
2929
files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb')
3030
else:
3131
files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym')
32+
33+
# The file upload needs to be atom-shell/symbols/:symbol_name/:hash/:symbol
34+
os.chdir(SYMBOLS_DIR)
35+
files = [os.path.relpath(f, os.getcwd()) for f in files]
36+
3237
# The symbol server needs lowercase paths, it will fail otherwise
3338
# So lowercase all the file paths here
3439
files = [f.lower() for f in files]

0 commit comments

Comments
 (0)