Skip to content

Fix hugo deprecation warning & bump version #14961

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

valioprea
Copy link
Contributor

This PR aims at fixing hugo warnings and errors locally, by updating the version and some deprecated field to the newer variant.

My colleague, @Ovijmek21 helped me with this as well.

@valioprea valioprea requested review from a team as code owners March 10, 2025 14:43
Copy link

netlify bot commented Mar 10, 2025

Deploy Preview for devopsdays-web failed. Why did it fail? →

Built without sensitive environment variables

Name Link
🔨 Latest commit 66d2611
🔍 Latest deploy log https://app.netlify.com/sites/devopsdays-web/deploys/67cff271d16f4c0008bea985

Copy link
Member

@mattstratton mattstratton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few other places the Hugo version needs to be updated:

netlify.toml
hugoserver.ps1
hugoserver.sh
metadata.json

@mattstratton
Copy link
Member

mattstratton commented Mar 11, 2025

It seems the latest version is 0.145.0 not 0.145.1 (so not sure how the other stuff was working; the netlify build fails bc there is no release at 0.145.1)

See https://github.com/gohugoio/hugo/releases

GitHub
The world’s fastest framework for building websites. - gohugoio/hugo

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.

2 participants