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: support specifying minimum version for scaffold #203

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

hay-kot
Copy link
Owner

@hay-kot hay-kot commented Aug 23, 2024

With the new functions and possible changes required with new template functions, we may want the ability to specify a minimum version that the scaffold file supports.

This PR adds a new field metadata to the scaffold and a new subfield minimum_version which, when provided, will be verified to be less than or equal to the cli version. This check is bypassed if no value is provided, or if the cli is build with no version (dev)

@hay-kot hay-kot merged commit 167779c into main Aug 31, 2024
1 check passed
@hay-kot hay-kot deleted the feat/scaffold-compatibility branch August 31, 2024 23:05
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