Skip to content
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

0.139.5 release is missing assets causing GitHub workflow to fail #13150

Closed
somethingSTRANGE opened this issue Dec 14, 2024 · 6 comments
Closed

Comments

@somethingSTRANGE
Copy link

My automated GitHub Actions workflow fails due to missing assets in the 0.139.5 release.

##[debug]Failed to download from "https://github.com/gohugoio/hugo/releases/download/v0.139.5/hugo_extended_0.139.5_Linux-64bit.tar.gz". Code(404) Message(Not Found)
Error: Action failed with error Unexpected HTTP response: 404

The 0.139.5 release only contains:

  1. Source code (zip)
  2. Source code (tar.gz)

Previous releases had ~29 assets, such as this list from 0.139.4:

  1. hugo_0.139.4_checksums.txt
  2. hugo_0.139.4_darwin-universal.tar.gz
  3. hugo_0.139.4_dragonfly-amd64.tar.gz
  4. hugo_0.139.4_freebsd-amd64.tar.gz
  5. hugo_0.139.4_Linux-64bit.tar.gz
  6. hugo_0.139.4_linux-amd64.deb
  7. hugo_0.139.4_linux-amd64.tar.gz
  8. hugo_0.139.4_linux-arm.tar.gz
  9. hugo_0.139.4_linux-arm64.deb
  10. hugo_0.139.4_linux-arm64.tar.gz
  11. hugo_0.139.4_netbsd-amd64.tar.gz
  12. hugo_0.139.4_openbsd-amd64.tar.gz
  13. hugo_0.139.4_solaris-amd64.tar.gz
  14. hugo_0.139.4_windows-amd64.zip
  15. hugo_0.139.4_windows-arm64.zip
  16. hugo_extended_0.139.4_darwin-universal.tar.gz
  17. hugo_extended_0.139.4_Linux-64bit.tar.gz
  18. hugo_extended_0.139.4_linux-amd64.deb
  19. hugo_extended_0.139.4_linux-amd64.tar.gz
  20. hugo_extended_0.139.4_linux-arm64.deb
  21. hugo_extended_0.139.4_linux-arm64.tar.gz
  22. hugo_extended_0.139.4_windows-amd64.zip
  23. hugo_extended_withdeploy_0.139.4_darwin-universal.tar.gz
  24. hugo_extended_withdeploy_0.139.4_Linux-64bit.tar.gz
  25. hugo_extended_withdeploy_0.139.4_linux-amd64.tar.gz
  26. hugo_extended_withdeploy_0.139.4_linux-arm64.tar.gz
  27. hugo_extended_withdeploy_0.139.4_windows-amd64.zip
  28. Source code (zip)
  29. Source code (tar.gz)
@simonhollingshead
Copy link

Yes, sadly the newest release has a human readable message of

"It's the same as https://github.com/gohugoio/hugo/releases/tag/v0.139.4 -- go there for release archives."

in it, but my automated workflows can't read English instructions like that, so they construct a download URL with 0.139.5 in, get a 404, and terminate in a failed state.

Anyone who uses https://github.com/peaceiris/actions-hugo with a version of "latest" will be broken by this, for example.

@getshhi
Copy link

getshhi commented Dec 15, 2024

Yes, I also have this issue

@bep
Copy link
Member

bep commented Dec 15, 2024

You need to use 0.139.4. 0.139.5 is there only to make go install happy.

@bep bep closed this as completed Dec 15, 2024
@DeathGarurumon
Copy link

Yeah, I have this problem, too. Setting the version as '0.139.4' is OK.

@omarkohl
Copy link
Contributor

omarkohl commented Dec 15, 2024

I appreciate the hard work you invest into hugo! If at all possible it would be very valuable to add assets to the 0.139.5 release (or add a subsequent release with assets) since this breaks all builds that are relying on "latest" hugo and makes people like myself spend half an hour trying to figure out what is going on 😢

Pinning the version to 0.139.4 and then later remembering to unpin it is a feasible workaround.

omarkohl added a commit to omarkohl/rationality-freiburg.de that referenced this issue Dec 15, 2024
Release 0.139.5 contains no assets and was only made for technical
reasons. The deployment fails with error:

    Error: Action failed with error Unexpected HTTP response: 404

See gohugoio/hugo#13150
csmertx added a commit to csmertx/csmertx.github.io that referenced this issue Dec 15, 2024
@togarashimayo
Copy link

I'm one of the people who uses latest as the Hugo version for my website's build. Also rolled back my version to 0.139.4 as a workaround based on @bep and @omarkohl's prompts.

kanedafromparis added a commit to parisjug/parisjug-website that referenced this issue Dec 16, 2024
abbyad added a commit to abbyad/abbyad.github.io that referenced this issue Dec 16, 2024
Does not build with latest due to missing assets in current build (0.139.5), as per gohugoio/hugo#13150

Temporary fix is to set to previous version. Should be reverted to latest when resolved.
olivercodes added a commit to olivercodes/olivercodes.com that referenced this issue Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants