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: minVersion instead of (or in addition to) version #156

Open
davidsneighbour opened this issue Jun 2, 2024 · 1 comment
Open

feat: minVersion instead of (or in addition to) version #156

davidsneighbour opened this issue Jun 2, 2024 · 1 comment

Comments

@davidsneighbour
Copy link

I looked into this package because I am rewriting all my shell scripts into node scripts (concerning GoHugo builds, deploys, etc.). One point I feel needs to be added is some form of min and max Hugo versions. I do not care to update my settings every time a new Hugo version comes out, but I would like to constrain the version to "at least this version". Something like "version": ">=0.124.1" would be the simplest to maintain, and something like "minVersion": "0.124.1" might be easier implementable.

Does that sound very specific, or is it something others might have use of as well?

@XhmikosR
Copy link
Collaborator

XhmikosR commented Jun 3, 2024

While I do see your use case, I believe this would add complexity because we'd need to keep a list of versions and compatibility flags.

So, unless there's a clear/easy way to do this, I"m not sure it will be implemented, at least by me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants