Skip to content

ci: DH-21630: Add an option to specify custom remote#1292

Merged
vbabich merged 2 commits intodeephaven:mainfrom
vbabich:release-remote-option
Feb 5, 2026
Merged

ci: DH-21630: Add an option to specify custom remote#1292
vbabich merged 2 commits intodeephaven:mainfrom
vbabich:release-remote-option

Conversation

@vbabich
Copy link
Collaborator

@vbabich vbabich commented Feb 5, 2026

Current tools/release.sh requires the git remote to be named origin. Added an option to allow custom remote; in my setup, I use upstream and origin instead of origin and fork.

Closes #787

@vbabich vbabich requested a review from mofojed February 5, 2026 20:24
@vbabich vbabich marked this pull request as ready for review February 5, 2026 20:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds functionality to specify a custom git remote when running the release script, addressing issue DH-21630. This is useful when developers have their origin pointing to a fork and want to release to the upstream repository instead.

Changes:

  • Added --remote / -r flag to the release script with validation
  • Updated cog.toml to use the RELEASE_REMOTE environment variable with fallback to origin
  • Updated documentation in README.md to explain the new flag usage

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tools/release.sh Added --remote argument parsing, validation of remote existence, and environment variable export
cog.toml Updated git push commands to use ${RELEASE_REMOTE:-origin} variable
package-lock.json Version bump for pivot plugin (appears unrelated to PR purpose)
README.md Documented the new --remote flag with usage example

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


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

@vbabich vbabich merged commit ad4ecbf into deephaven:main Feb 5, 2026
18 checks passed
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.

Support releases to non-origin remote

2 participants