Skip to content

Support local test run for the JVM release helper.#12254

Merged
trivialfis merged 2 commits into
dmlc:masterfrom
trivialfis:jvm-rel-helper
Jun 21, 2026
Merged

Support local test run for the JVM release helper.#12254
trivialfis merged 2 commits into
dmlc:masterfrom
trivialfis:jvm-rel-helper

Conversation

@trivialfis

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the JVM release preparation helper (dev/prepare_jvm_release.py) to make it easier to run the release workflow locally (without publishing), while also doing some small refactoring/cleanup.

Changes:

  • Add --local flag to switch Maven from deploy to install for local dry-runs.
  • Refactor argument handling into parse_args() and rename --release-version to --release.
  • Replace custom cd()/errno handling with stdlib contextlib.chdir and os.makedirs(..., exist_ok=True), and centralize Maven deploy/install logic in deploy().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dev/prepare_jvm_release.py
Comment thread dev/prepare_jvm_release.py
@trivialfis

Copy link
Copy Markdown
Member Author

I published the maven deployment yesterday, see how long it takes for the search index to catch up

@trivialfis
trivialfis merged commit 611008e into dmlc:master Jun 21, 2026
81 checks passed
@trivialfis
trivialfis deleted the jvm-rel-helper branch June 21, 2026 14:38
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.

3 participants