Skip to content

Commit

Permalink
Merge pull request #1741 from Eitot/misc/tar
Browse files Browse the repository at this point in the history
Strip extended attributes during the creation of the release tar file
  • Loading branch information
barijaona authored Jun 17, 2024
2 parents 284f58a + 3281d6a commit 31b2c9a
Showing 1 changed file with 2 additions and 3 deletions.
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

0 comments on commit 31b2c9a

Please sign in to comment.