Specify Hugo version
B
Bryce Wray
To guard against breaking changes such as those that occurred recently, it would be helpful to specify the version of the Hugo static site generator you’re using — for example, through a
HUGO_VERSION
environment variable you could set to “0.81.0” to receive the most current version as of when I’m making this request. (As is true already, the version should always be the Extended Version to allow for SCSS use.}Log In
�
🎈 BALLOON|FU-SEN
Depending on the theme, you may also need to select
hugo
and hugo_extended
, but specifying the version is more important than that. Because the build will fail due to the difference in version.This response is not close to its importance to Runder members. I will make you understand the importance with this link.
- https://developers.cloudflare.com/pages/platform/known-issues
- https://www.netlify.com/blog/2017/04/11/netlify-plus-hugo-0.20-and-beyond/
- https://vercel.com/guides/deploying-hugo-with-vercel?query=hugo#optional:-define-a-hugo-version
Rivals have already implemented it. In other words, people who want to use Hugo now will choose other web services.