build: upload windows breakpad symbols (#25006)

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
This commit is contained in:
trop[bot]
2020-08-17 22:15:42 -07:00
committed by GitHub
parent 7079304a6c
commit 4e82a50883

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)