From e7d53306d18f7e261ced37e12c0468b1a96e4cfd Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Thu, 29 May 2025 22:58:54 +0100 Subject: [PATCH] fix: prevent macOS extended attributes in tarball creation Add COPYFILE_DISABLE=1 to all rsync operations in create-release.sh to prevent macOS extended attributes from being included in tarballs. This eliminates the 'Ignoring unknown extended header keyword' warnings during extraction on Linux systems. --- scripts/create-release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/create-release.sh b/scripts/create-release.sh index 5693661f1..ba8f122e4 100755 --- a/scripts/create-release.sh +++ b/scripts/create-release.sh @@ -49,12 +49,12 @@ echo "Copying application files to $STAGING_FULL_PATH..." # Server files (excluding tests) echo "Copying server files..." -rsync -av --progress server/ "$STAGING_FULL_PATH/server/" --exclude 'tests/' +COPYFILE_DISABLE=1 rsync -av --progress server/ "$STAGING_FULL_PATH/server/" --exclude 'tests/' # Source files (including built CSS, Tailwind config, and public assets) echo "Copying source files..." mkdir -p "$STAGING_FULL_PATH/src" # Ensure parent directory exists -rsync -av --progress src/public/ "$STAGING_FULL_PATH/src/public/" +COPYFILE_DISABLE=1 rsync -av --progress src/public/ "$STAGING_FULL_PATH/src/public/" # Copy CSS build files and config cp src/index.css "$STAGING_FULL_PATH/src/" 2>/dev/null || echo "Warning: src/index.css not found" @@ -83,7 +83,7 @@ fi # Docs if [ -d "docs" ]; then echo "Copying docs..." - rsync -av --progress docs/ "$STAGING_FULL_PATH/docs/" + COPYFILE_DISABLE=1 rsync -av --progress docs/ "$STAGING_FULL_PATH/docs/" fi # --- Install Production Dependencies ---