Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hub cli flag to upgrade validators #1059

Merged
merged 8 commits into from
Sep 10, 2024
Merged

Conversation

aaravnavani
Copy link
Contributor

This PR adds functionality to the hub cli so that users can upgrade a validator to the latest version.

Now, doing guardrails hub install --upgrade hub://guardrails/toxic_language installs the latest version of the validator. If a user has an older version of a validator installed on their machine, they can now use the --upgrade flag instead of having to uninstall and install the validator again.

@aaravnavani aaravnavani marked this pull request as ready for review September 10, 2024 20:58
@aaravnavani aaravnavani changed the base branch from main to 0.5.8-release September 10, 2024 21:39
@zsimjee zsimjee merged commit ba1919e into 0.5.8-release Sep 10, 2024
12 checks passed
@zsimjee zsimjee deleted the upgrade-validators branch September 10, 2024 21:47
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