From 4af6408e399e2f795e98b043fd30c16ba31ab0c6 Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 6 Apr 2026 12:03:45 -0800 Subject: [PATCH] Preserve permissions with rsync This is mostly just because if the opts are empty, it seems to error in macOS for some reason...(rsync_opts[@]: unbound variable). --- ci/build/build-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/build/build-release.sh b/ci/build/build-release.sh index 6fd347e0b..9ded35f98 100755 --- a/ci/build/build-release.sh +++ b/ci/build/build-release.sh @@ -79,7 +79,7 @@ EOF mv npm-shrinkwrap.json "$RELEASE_PATH" if [ "$KEEP_MODULES" = 1 ]; then - local rsync_opts=() + local rsync_opts=(-a) if [[ ${DEBUG-} = 1 ]]; then rsync_opts+=(-vh) fi @@ -100,7 +100,7 @@ EOF bundle_vscode() { mkdir -p "$VSCODE_OUT_PATH" - local rsync_opts=() + local rsync_opts=(-a) if [[ ${DEBUG-} = 1 ]]; then rsync_opts+=(-vh) fi