website
website copied to clipboard
Check hugo version in `deploy.sh`?
Sometimes we had external contributors having problems with setting up our stack due to them having out-of-date or wrong, i.e. not the extended, versions of hugo.
Although deploy.sh's main purpose is different, we could include a hugo version check, to warn new contributors early? Maybe even stop the process.
Is that something we want? :D
As a potential downside I see the possibility of us specifying a recent version, even if a earlier one would suffice. But I think we usually only bump our hugo version if we need a particular feature or bug fix, so we should be fine.
Eh, I wouldn't mind that.
But you'd have to implement checking for versions >=, not just ==.