-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Update Hugo version in netlify.toml to 0.59.1 #17976
Conversation
Deploy preview for kubernetes-io-master-staging ready! Built with commit 09890d1 https://deploy-preview-17976--kubernetes-io-master-staging.netlify.com |
/lgtm |
1 similar comment
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jimangel, kbarnard10 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @zacharysarah , I'm sorry about did this partial upgrade, and I am wondering if the netlify did not update to the same version inside makefile, why the PR #17894 CI Job did NOT throws error, it checked passed... How could we avoid the same things happening again? |
I honestly don't know why; it seems intuitive that the staging build would have produced the same error.
To be honest, I've made this same mistake in a previous PR. Usually my answer is "better documentation", but part of that answer is making sure that docs are in the right place. In this case, I don't know where it would be. 🤷♂ Any thoughts? |
Hi @zacharysarah , For the Q1, I think I found the root cause, I did a PR in my fork repo, it throws error when I submitted deploy request to netlify:
the detail result see here and our repo PR check, for example, likes below:
The user command is different, our repo is For the Q2, I think the script scripts/hugo-version-check.sh already did the right stuff, we just need to fix the Q1, for my idea, like sth for moving the command run with Thanks. |
Valid suggestion, however, I think we should try to source our Hugo Env in one location vs. relying on a check script. This isn't the first time we've hit this snag. |
This PR fixes a bug introduced by a partial upgrade in #17894. This PR updates the version to 0.59.1 in
netlify.toml
as well asMakefile
./assign @jimangel