metaforce/ci/upload-debug-macos.sh

10 lines
337 B
Bash
Executable File

#!/bin/bash -ex
cd build/install/metaforce-gui.app/Contents/MacOS
for f in hecl metaforce-gui metaforce visigen; do
dsymutil $f
strip -S $f
done
sentry-cli upload-dif --org axiodl --project metaforce {hecl,metaforce-gui,metaforce,visigen}{,.dSYM} --include-sources
tar acfv "$GITHUB_WORKSPACE"/debug.tar.xz -- *.dSYM
rm -r -- *.dSYM