From 9585c53e9fae8367c7dd759bb66202aefbdaf002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 30 Oct 2024 11:12:31 +0800 Subject: [PATCH] release: Add upload dSYMs --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c9457763..d072085f 100644 --- a/Makefile +++ b/Makefile @@ -155,7 +155,16 @@ upload_macos_dmg: cp SFM.dmg "SFM-${VERSION}-universal.dmg" && \ ghr --replace --draft --prerelease "v${VERSION}" "SFM-${VERSION}-universal.dmg" -release_macos_standalone: build_macos_standalone build_macos_dmg upload_macos_dmg +upload_macos_dsyms: + pushd ../sing-box-for-apple/build/SFM.System.xcarchive && \ + zip -r SFM.dSYMs.zip dSYMs && \ + mv SFM.dSYMs.zip ../../../sing-box/dist/SFM && \ + popd && \ + cd dist/SFM && \ + cp SFM.dSYMs.zip "SFM-${VERSION}-universal.dSYMs.zip" && \ + ghr --replace --draft --prerelease "v${VERSION}" "SFM-${VERSION}-universal.dSYMs.zip" + +release_macos_standalone: build_macos_standalone build_macos_dmg upload_macos_dmg upload_macos_dsyms build_tvos: cd ../sing-box-for-apple && \