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

feat: add required trunk version, and update version check #708

Merged
merged 8 commits into from
Feb 9, 2024

Conversation

ctron
Copy link
Collaborator

@ctron ctron commented Feb 9, 2024

This PR makes trunk aware of its version. Enabling two features with that:

  1. Allow enforcing a trunk version for a project. This allows one to require a certain trunk version for a project, e.g. in the case user newer features from trunk.
  2. Implement an "update check", so that trunk can let you know that there's a newer version available.

The update check can be disabled by disabling the feature update_check. This might be useful for packagers, like nix and homebrew.

@ctron ctron merged commit 6f4bdc5 into trunk-rs:main Feb 9, 2024
39 checks passed
@ctron ctron deleted the feature/version_1 branch February 9, 2024 15:00
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.

1 participant