build(package): fixed xatters issues
macos tar adds xattrs which prevent unpacking on linux. removed these
This commit is contained in:
@@ -105,10 +105,9 @@ EOF
|
||||
|
||||
chmod +x "$STAGING_DIR/install.sh"
|
||||
|
||||
tar -czf "$TARBALL_NAME" -C "$STAGING_DIR" .
|
||||
export COPYFILE_DISABLE=1
|
||||
tar -cz --no-xattrs -f "$TARBALL_NAME" -C "$STAGING_DIR" .
|
||||
|
||||
echo "Distribution package created: $TARBALL_NAME"
|
||||
echo "Contents:"
|
||||
tar -tf "$TARBALL_NAME"
|
||||
|
||||
rm -rf "$STAGING_DIR"
|
||||
Reference in New Issue
Block a user