mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Upload symbols from release step; bump to 1.0.34
This commit is contained in:
parent
afa366e9e1
commit
8292f10db2
5 changed files with 24 additions and 20 deletions
17
release.sh
17
release.sh
|
|
@ -26,6 +26,23 @@ fi
|
|||
|
||||
echo "$NOTES" > /tmp/release_notes.txt
|
||||
|
||||
# --- Debug symbols -> crash server -------------------------------------------
|
||||
# Uploaded here (not the build job) so a failed upload fails the release. The
|
||||
# server stores symbols write-once per (plugin, platform, version): a re-tagged
|
||||
# or rebuilt version whose symbols already exist returns 409 and fails the
|
||||
# release loudly — delete the stale symbols in the crash site, then re-run.
|
||||
CRASH_BASE="https://crashreports.rabiensoftware.com"
|
||||
upload_symbols () { # $1 platform, $2 zip
|
||||
if [ ! -f "$2" ]; then echo "Error: expected symbols $2 not found"; exit 1; fi
|
||||
echo "Uploading $1 symbols for $VER"
|
||||
curl -sS --fail-with-body -H "X-API-Key: $SYMBOL_API_KEY" \
|
||||
-F "platform=$1" -F "version=$VER" -F "files[]=@$2" \
|
||||
"$CRASH_BASE/symbols/"
|
||||
echo
|
||||
}
|
||||
upload_symbols mac "./Binaries macOS/Symbols_Mac.zip"
|
||||
upload_symbols win "./Binaries Windows/Symbols_Win.zip"
|
||||
|
||||
ASSETS=(
|
||||
"./Binaries Linux"/*.deb
|
||||
"./Binaries Windows"/*.exe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue