File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed
Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -158,5 +158,22 @@ productbuild \
158158 " ${PKG_SIGN_ARGS[@]} " \
159159 ${MACOS_PKG_SNAME} -macOS.pkg
160160
161- # xcrun notarytool submit build/*-macOS.pkg --keychain-profile "build-notary" --wait
162- # xcrun notarytool log --keychain-profile "build-notary" 00000000-0000-0000-0000-000000000000
161+ if [ -n " ${MACOS_NOTARIZATION_USER} " ] && [ -n " ${MACOS_NOTARIZATION_PASS} " ] && [ -n " ${MACOS_NOTARIZATION_TEAM} " ]; then
162+ # Notarize using credentials
163+ xcrun notarytool submit ${MACOS_PKG_SNAME} -macOS.pkg \
164+ --apple-id ${MACOS_NOTARIZATION_USER} \
165+ --password ${MACOS_NOTARIZATION_PASS} \
166+ --team-id ${MACOS_NOTARIZATION_TEAM} \
167+ --wait
168+ xcrun stapler staple ${MACOS_PKG_SNAME} -macOS.pkg
169+ elif [ -n " ${MACOS_KEYCHAIN_PROFILE} " ]; then
170+ # Notarize using keychain profile
171+ xcrun notarytool submit ${MACOS_PKG_SNAME} -macOS.pkg \
172+ --keychain-profile ${MACOS_KEYCHAIN_PROFILE} \
173+ --wait
174+ xcrun stapler staple ${MACOS_PKG_SNAME} -macOS.pkg
175+ fi
176+
177+ # To get logs of your notarization note the notarization id (of the form `00000000-0000-0000-0000-000000000000`)
178+ # and use either your credentials or keychain profile:
179+ # xcrun notarytool log --keychain-profile ${MACOS_KEYCHAIN_PROFILE} ${NOTARIZATION_ID}
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ rm -f dpf/distrho/extra/Runner.hpp
6868rm -f dpf/distrho/extra/Time.hpp
6969rm -f dpf/distrho/extra/WebView*
7070
71- sed -i ' / $(BUILD_DIR)\/dgl\/Layout.cpp.o \\/d' dpf/dgl/Makefile
71+ sed -i -e ' / $(BUILD_DIR)\/dgl\/Layout.cpp.o \\/d' dpf/dgl/Makefile
7272
7373for PLUGIN in ${PLUGINS[@]} ; do
7474 for f in $( ls repos/${PLUGIN} /plugins/) ; do
You can’t perform that action at this time.
0 commit comments