i40west / wtfhugo

🤷🏻‍♂️ Hugo debugger as an overlay on your site
https://wtfhugo.i40west.io
GNU General Public License v3.0
4 stars 2 forks source link

chore: enforce a minimum required Hugo version. #4

Closed hugo-sid closed 2 months ago

hugo-sid commented 2 months ago

PR Description:

This PR enforces a minimum required Hugo version for the project. Specifically, it introduces a check to ensure that Hugo v0.123.0 or later is being used. If an earlier version is detected, the following error will be triggered:

WTFHugo requires Hugo v0.123.0 or later. Please upgrade Hugo to v0.123.0 or higher to use WTFHugo.

Summary:


Let me know if you need any changes!

i40west commented 2 months ago

Good idea. I really should have thought of that when I made the breaking change. Thanks.