summaryrefslogtreecommitdiff
path: root/misc/scripts/package_release.sh
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-12-19 16:38:02 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-12-20 12:55:43 +0100
commit7a4e27e5f054f418f4aa08c6c0c3c22c50bf0c97 (patch)
tree998bf3f252e6e94d3cc2f1f8f66ab778538c9dc7 /misc/scripts/package_release.sh
parentd768508435cfb0b940486b4fec54339f5d9c096f (diff)
downloadfork-godot-webrtc-native-7a4e27e5f054f418f4aa08c6c0c3c22c50bf0c97.tar.gz
fork-godot-webrtc-native-7a4e27e5f054f418f4aa08c6c0c3c22c50bf0c97.tar.bz2
fork-godot-webrtc-native-7a4e27e5f054f418f4aa08c6c0c3c22c50bf0c97.zip
[MacOS] Use framekwork to package GDExtension
This allows it to be code-signed as a bundle so gatekeeper won't complain when loaded by the editor.
Diffstat (limited to 'misc/scripts/package_release.sh')
-rwxr-xr-xmisc/scripts/package_release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/scripts/package_release.sh b/misc/scripts/package_release.sh
index 3ca5a2b..c3cf553 100755
--- a/misc/scripts/package_release.sh
+++ b/misc/scripts/package_release.sh
@@ -16,7 +16,7 @@ DESTDIR="${DESTINATION}/${VERSION}/${TYPE}"
mkdir -p ${DESTDIR}/lib
-find "${ARTIFACTS}" -wholename "*/${VERSION}/${TYPE}/lib/*" | xargs cp -t "${DESTDIR}/lib/"
+find "${ARTIFACTS}" -maxdepth 5 -wholename "*/${VERSION}/${TYPE}/lib/*" | xargs cp -r -t "${DESTDIR}/lib/"
find "${ARTIFACTS}" -wholename "*/LICENSE*" | xargs cp -t "${DESTDIR}/"
if [ $VERSION = "gdnative" ]; then