Skip to content

ci: dry run java publish before release#319

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/java-publish-dry-run
Mar 16, 2026
Merged

ci: dry run java publish before release#319
Xuanwo merged 1 commit into
mainfrom
xuanwo/java-publish-dry-run

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

The current Java publish dry_run only runs a plain package, so it misses failures that are specific to the deploy-to-ossrh profile and only show up during release publishing. This changes the dry run path to execute verify -P deploy-to-ossrh -Dgpg.skip=true, which exercises Javadoc generation and the publish profile without actually signing or deploying artifacts.

I validated the new command locally on top of #318, and it successfully builds the async and core-async modules through the same Javadoc path that previously failed during release.

@github-actions github-actions Bot added the ci Features related to CI improvements label Mar 16, 2026
@Xuanwo Xuanwo force-pushed the xuanwo/java-publish-dry-run branch from 7128a2a to 3d70550 Compare March 16, 2026 02:38
@github-actions github-actions Bot added python Python features java Java features rust Rust features labels Mar 16, 2026
@Xuanwo Xuanwo changed the base branch from xuanwo/fix-java-async-javadoc-release to main March 16, 2026 02:39
@Xuanwo Xuanwo merged commit aea3a48 into main Mar 16, 2026
9 checks passed
XuQianJin-Stars pushed a commit to XuQianJin-Stars/lance-namespace that referenced this pull request Mar 16, 2026
The current Java publish `dry_run` only runs a plain `package`, so it
misses failures that are specific to the `deploy-to-ossrh` profile and
only show up during release publishing. This changes the dry run path to
execute `verify -P deploy-to-ossrh -Dgpg.skip=true`, which exercises
Javadoc generation and the publish profile without actually signing or
deploying artifacts.

I validated the new command locally on top of lance-format#318, and it successfully
builds the async and core-async modules through the same Javadoc path
that previously failed during release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Features related to CI improvements java Java features python Python features rust Rust features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant