Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip extended attributes during the creation of the release tar file #1741

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Scripts/Release-for-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ esac
pushd "${VIENNA_UPLOADS_DIR}"

# Make the dSYM Bundle
tar -a -cf "${dSYM_FILENAME}.tgz" --exclude '.DS_Store' -C "$ARCHIVE_DSYMS_PATH" .
tar -c -f "${dSYM_FILENAME}.tgz" --format ustar --gzip --no-xattrs --exclude '.DS_Store' -C "$ARCHIVE_DSYMS_PATH" .

# Zip up the app
# Copy the app cleanly
xcodebuild -exportNotarizedApp -archivePath "$ARCHIVE_PATH" -exportPath .
xattr -c -r Vienna.app
tar -a -cf "${TGZ_FILENAME}" --exclude '.DS_Store' Vienna.app
tar -c -f "${TGZ_FILENAME}" --format ustar --gzip --no-xattrs --exclude '.DS_Store' Vienna.app
rm -rf Vienna.app

# Output the sparkle change log
Expand Down
Loading