Skip to content

Conversation

@peppescg
Copy link
Collaborator

Renovate steps:

  • upgrade thv constant
  • call pnpm:thv that removes /bin folder and install the new thv binary
  • call pnpm:generate-client that regenerates the api clients

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 configures Renovate to automatically handle ToolHive CLI upgrades by detecting version changes in utils/constants.ts and running post-upgrade tasks to update binaries and regenerate API clients.

Key changes:

  • Adds Renovate annotation comment to TOOLHIVE_VERSION constant for automatic version detection
  • Configures Renovate custom regex manager and package rules for stacklok/toolhive
  • Updates thv script to remove existing binaries before installation

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
utils/constants.ts Adds documentation and Renovate annotation for automatic version management
renovate.json Adds package rule with post-upgrade tasks and custom regex manager for ToolHive version detection
package.json Updates thv script to remove bin directory before installing new binary

@peppescg peppescg merged commit 20cd918 into main Nov 12, 2025
19 checks passed
@peppescg peppescg deleted the chore-renovate-toolhive branch November 12, 2025 10:25
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