Skip to content

release: fix source tarball and Java verification paths#48

Merged
XiaoHongbo-Hope merged 3 commits into
apache:mainfrom
QuakeWang:fix-release
May 29, 2026
Merged

release: fix source tarball and Java verification paths#48
XiaoHongbo-Hope merged 3 commits into
apache:mainfrom
QuakeWang:fix-release

Conversation

@QuakeWang
Copy link
Copy Markdown
Contributor

The source release script used rsync and the platform tar command, which can include macOS filesystem metadata such as AppleDouble files, pax headers, and com.apple.* extended attributes in the source tarball.

This PR generates the source archive from the committed Git tree with git archive and gzip -n, avoiding filesystem metadata in the release tarball.

The release verification guide also copied the JNI library into java/src/main/resources/native/, but NativeLib loads libraries from /native/{os}/{arch}/. This PR updates the guide to copy each platform library into the directory layout used by NativeLib and the Java release workflow.

@XiaoHongbo-Hope
Copy link
Copy Markdown

One small doc clarity suggestion: the Java section first runs cargo build --release -p paimon-mosaic-jni, then lists copy commands for all platforms from target/release/.
Could we explicitly say verifiers should run only the snippet for the current platform?

@XiaoHongbo-Hope
Copy link
Copy Markdown

Nit: docs/creating-a-release.html still says create_source_release.sh builds from a git clone. Since
this PR switches to git archive, maybe update it to "from the committed Git tree".

@QuakeWang
Copy link
Copy Markdown
Contributor Author

@XiaoHongbo-Hope Thanks, I have fixed. The Java verification section now explicitly says to run only the snippet for the current platform. I also updated the release guide wording to say the source archive is built from the committed Git tree.

@XiaoHongbo-Hope
Copy link
Copy Markdown

+1

@XiaoHongbo-Hope XiaoHongbo-Hope merged commit 3b45db9 into apache:main May 29, 2026
5 checks passed
XiaoHongbo-Hope pushed a commit that referenced this pull request May 30, 2026
* release: avoid macOS metadata in source tarball

* release: fix Java verification native paths

* docs: clarify release verification steps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants