ArjenSchwarz / wercker-step-hugo-build

Wercker Step for building Hugo sites
45 stars 19 forks source link

Unable to download versions #28

Closed jrbasso closed 8 years ago

jrbasso commented 8 years ago

Seems the filenames changed in Hugo's project, making the default setup (version = 0.17) not to work since the file can't be found.

https://github.com/spf13/hugo/releases/ The new filename: hugo_0.17_Linux-64bit.tar.gz What the script is attempting: hugo_0.17_linux_amd64.tar.gz

PS: Other versions have differences too, ie. the Linux word in the version 0.16 is lowercase and the extensions is tgz instead of tar.gz.

ArjenSchwarz commented 8 years ago

Thanks @jrbasso, I'll look into this right away.

ArjenSchwarz commented 8 years ago

This should be fixed now in version 1.13.1 of the step, which was just released. Hugo 0.17 is included inside the step (but incorrectly until now) so it won't try to download it but use the existing version. I have an open issue (#27) for fixing it in the download for future versions. Thanks again for pointing it out.