build: upload windows breakpad symbols (#25000)

This commit is contained in:
Samuel Attard 2020-08-17 14:52:08 -07:00 committed by GitHub
parent bac2f46ba9
commit ab6769d7f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,12 +36,13 @@ if sys.platform == "win32":
def main():
os.chdir(ELECTRON_DIR)
files = []
if PLATFORM == 'win32':
for pdb in PDB_LIST:
run_symstore(pdb, SYMBOLS_DIR, PRODUCT_NAME)
files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb')
else:
files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym')
files += glob.glob(SYMBOLS_DIR + '/*/*/*.sym')
for symbol_file in files:
print("Generating Sentry src bundle for: " + symbol_file)