Skip to content

add a min oc version checker for templates if defined #1394

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

Merged
merged 2 commits into from
Feb 24, 2025

Conversation

ricardo-devis-agullo
Copy link
Collaborator

This adds the possibility of template compilers to add a new field oc.template.minOcVersion to specify a minimum OC version where it can run. This will be checked when publishing and when getting the component (mainly for local dev). This helps in scenarios where templates start using new features on OC that require a minimum version, but it's still optional so it doesn't break backwards.

@ricardo-devis-agullo ricardo-devis-agullo merged commit 2ac8b94 into master Feb 24, 2025
3 checks passed
@ricardo-devis-agullo ricardo-devis-agullo deleted the checkminversion branch February 24, 2025 13:17
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