From 552773301ce0c0a93c69ffc05292d81b4609d7a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Thu, 14 Nov 2024 14:11:32 +0800 Subject: [PATCH] release: Notarize macos standalone manually with --no-s3-acceleration --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index d072085f..ae8e0b24 100644 --- a/Makefile +++ b/Makefile @@ -96,11 +96,7 @@ upload_android: release_android: lib_android update_android_version build_android upload_android publish_android: - cd ../sing-box-for-android && ./gradlew :app:publishPlayReleaseBundle - -publish_android_appcenter: - cd ../sing-box-for-android && ./gradlew :app:appCenterAssembleAndUploadPlayRelease - + cd ../sing-box-for-android && ./gradlew :app:publishPlayReleaseBundle && ./gradlew --stop # TODO: find why and remove `-destination 'generic/platform=iOS'` build_ios: @@ -147,9 +143,13 @@ build_macos_dmg: --hide-extension "SFM.app" \ --app-drop-link 0 0 \ --skip-jenkins \ - --notarize "notarytool-password" \ "../sing-box/dist/SFM/SFM.dmg" "build/SFM.System/SFM.app" +notarize_macos_dmg: + xcrun notarytool submit "dist/SFM/SFM.dmg" --wait \ + --keychain-profile "notarytool-password" \ + --no-s3-acceleration + upload_macos_dmg: cd dist/SFM && \ cp SFM.dmg "SFM-${VERSION}-universal.dmg" && \ @@ -164,7 +164,7 @@ upload_macos_dsyms: 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 +release_macos_standalone: build_macos_standalone build_macos_dmg notarize_macos_dmg upload_macos_dmg upload_macos_dsyms build_tvos: cd ../sing-box-for-apple && \