Skip to content

Commit 411b9f2

Browse files
build: upload sentry src bundles to symbol S3 bucket (electron#22618)
Co-authored-by: Samuel Attard <sattard@slack-corp.com>
1 parent a632f1f commit 411b9f2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ step-maybe-generate-breakpad-symbols: &step-maybe-generate-breakpad-symbols
545545
if [ "$GENERATE_SYMBOLS" == "true" ]; then
546546
cd src
547547
ninja -C out/Default electron:electron_symbols
548+
cd out/Default/breakpad_symbols
549+
find . -name \*.sym -print0 | xargs -0 npx @sentry/cli@1.51.1 difutil bundle-sources
548550
fi
549551
550552
step-maybe-zip-symbols: &step-maybe-zip-symbols

script/release/uploaders/upload-symbols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def main():
3030
run_symstore(pdb, SYMBOLS_DIR, PRODUCT_NAME)
3131
files = glob.glob(SYMBOLS_DIR + '/*.pdb/*/*.pdb')
3232
else:
33-
files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym')
33+
files = glob.glob(SYMBOLS_DIR + '/*/*/*.sym') + glob.glob(SYMBOLS_DIR + '/*/*/*.src.zip')
3434

3535
# The file upload needs to be atom-shell/symbols/:symbol_name/:hash/:symbol
3636
os.chdir(SYMBOLS_DIR)

0 commit comments

Comments
 (0)