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: added check-version subcommand #164

Merged
merged 3 commits into from
Jul 9, 2024
Merged

Conversation

astromechza
Copy link
Member

With the ongoing development of score-compose, new features and provisioners come and go. Often project makefiles or CI pipelines need to check that the installed version provides specific features that are relatively new. Other than this, there is no particular drive to update the score-compose binary on a system.

This PR, adds a check-version subcommand that can be used to quick quick without regex or anything too weird that the version is the one expected.

It supports partial semver as well as =, >=, and > constriants.

Copy link
Contributor

@mathieu-benoit mathieu-benoit left a comment

Choose a reason for hiding this comment

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

LGTM

@astromechza astromechza merged commit ec9a47c into main Jul 9, 2024
3 checks passed
@astromechza astromechza deleted the add-version-assert branch July 9, 2024 16:24
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