Skip to content

Exclude macOS metadata from release archives - #828

Merged
wu-sheng merged 1 commit into
mainfrom
fix/release-archive-metadata
Sep 14, 2026
Merged

wu-sheng merged 1 commit into
mainfrom
fix/release-archive-metadata

Conversation

@wu-sheng

Copy link
Copy Markdown
Member

Fix macOS metadata in release archives

The 9.7.0 binary archive contains AppleDouble ._* entries generated by macOS tar from extended file attributes. The ._*.jar sidecars are then scanned as plugin JARs and produce loading errors.

Set COPYFILE_DISABLE=1 and exclude existing ._* and .DS_Store files directly in the source and binary tar commands. Update the release guide and changelog.

Validation: exercised the exact updated commands with fixture files on macOS BSD tar and Linux GNU tar 1.35 (Debian). Both archives contained zero metadata entries and preserved plugin contents; source packaging still excluded .git. On macOS, exclusions alone still generated five metadata entries. Shell syntax and git diff --check passed.

@wu-sheng wu-sheng added this to the 9.8.0 milestone Sep 14, 2026
@wu-sheng wu-sheng added the bug Something isn't working label Sep 14, 2026
@wu-sheng
wu-sheng merged commit e9b8826 into main Sep 14, 2026
10 checks passed
@wu-sheng
wu-sheng deleted the fix/release-archive-metadata branch September 14, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Java Agent 9.7.0 release tarball contains macOS AppleDouble ._ files

2 participants