peaceiris / actions-hugo

GitHub Actions for Hugo ⚡️ Setup Hugo quickly and build your site fast. Hugo extended, Hugo Modules, Linux (Ubuntu), macOS, and Windows are supported.
https://github.com/marketplace/actions/hugo-setup
MIT License
1.37k stars 80 forks source link

(GH-608) Fix package url for v0.102.0 & v0.103.0 #609

Open michaeltlombardi opened 1 year ago

michaeltlombardi commented 1 year ago

Prior to this change, the URL building for versions of hugo was deterministic as the URLs for the packages were set to a project-specific standard. That URL creation began to fail for macOS in 0.102.0 and for Windows in 0.103.0. It does not fail for Linux because the hugo releases for Linux continue to include the old package naming as an alias.

This change:

michaeltlombardi commented 1 year ago

I took a quick stab at solving for the broken builds, but this is an extremely naive implementation without adding any packages for version comparisons and is certainly non-optimal, but I wanted to take a poke at it to lay something down that someone who actually knows typescript could run with or I could otherwise fix up.

nealkruis commented 1 year ago

@peaceiris any update on this PR or addressing these issues?

willfaught commented 1 year ago

@peaceiris Windows is currently broken. Any plans to fix this soon?