@@ -20,8 +20,8 @@ VERSION=$(cat "$PROJECT_ROOT/VERSION")
2020
2121#
2222# Crash reporting: bundle the latest CrashReporter app + this plugin's
23- # registration JSON, and upload debug symbols so crashes can be symbolicated.
24- # SYMBOL_API_KEY - CI secret, authorises symbol upload for this plugin .
23+ # registration JSON. Debug symbols are zipped into bin/ and uploaded later by
24+ # the release job (release.sh), never from this build .
2525# The CrashReporter download is a public distribution channel (no key needed).
2626#
2727CRASH_BASE=" https://crashreports.rabiensoftware.com"
@@ -42,18 +42,6 @@ fetch_reporter () { # $1 platform, $2 output file
4242 return 1
4343}
4444
45- # Upload a symbols archive for this plugin/version. Skipped if the key is unset.
46- upload_symbols () { # $1 platform, $2 zip file
47- if [ -z " ${SYMBOL_API_KEY:- } " ]; then echo " SYMBOL_API_KEY not set — skipping symbol upload" ; return 0; fi
48- if [ ! -f " $2 " ]; then echo " No symbol archive $2 — skipping" ; return 0; fi
49- echo " Uploading $1 symbols for $VERSION "
50- # Non-fatal: a symbol-upload failure must never break a release build.
51- curl -fsS -H " X-API-Key: $SYMBOL_API_KEY " \
52- -F " platform=$1 " -F " version=$VERSION " -F " files[]=@$( curl_path " $2 " ) " \
53- " $CRASH_BASE /symbols/" || echo " WARNING: symbol upload failed"
54- echo
55- }
56-
5745rm -Rf " $PROJECT_ROOT /Installer/$PLATFORM /bin"
5846mkdir -p " $PROJECT_ROOT /Installer/$PLATFORM /bin"
5947rm -Rf " $PROJECT_ROOT /bin"
@@ -222,8 +210,6 @@ if [ "$PLATFORM" = "macOS" ]; then
222210 VST3/$PLUGIN .vst3.dSYM \
223211 CLAP/$PLUGIN .clap.dSYM 2> /dev/null || true
224212
225- upload_symbols mac " $PROJECT_ROOT /bin/Symbols_Mac.zip"
226-
227213elif [ " $PLATFORM " = " linux" ]; then
228214 cd " $PROJECT_ROOT "
229215 cmake --preset ninja-gcc
299285 cp " $ART_DIR /VST3/$PLUGIN .pdb" " $SYM_DIR /VST3/" 2> /dev/null || true
300286 cp " $ART_DIR /CLAP/$PLUGIN .pdb" " $SYM_DIR /CLAP/" 2> /dev/null || true
301287 ( cd " $SYM_DIR " && 7z a " $PROJECT_ROOT /bin/Symbols_Win.zip" VST VST3 CLAP )
302-
303- upload_symbols win " $PROJECT_ROOT /bin/Symbols_Win.zip"
304288fi
0 commit comments