- ๐ซ Website
nklmilojevic / asdf-hugo Goto Github PK
View Code? Open in Web Editor NEWasdf plugin for hugo https://github.com/gohugoio/hugo
License: Other
asdf plugin for hugo https://github.com/gohugoio/hugo
License: Other
Describe the bug
Could not install the latest version (0.104.2) of Hugo.
Steps to reproduce
$ asdf install hugo 0.104.2
* Downloading hugo release 0.104.3...
curl: (22) The requested URL returned error: 404
asdf-hugo: Could not download https://github.com/gohugoio/hugo/releases/download/v0.104.3/hugo_0.104.3_macOS-universal.tar.gz
Expected behavior
Should be installed successfully
Additional context
The Hugo team seems to change the name of the binary they release for macOS
Describe the bug
โฏ asdf install hugo extended_0.101.0
* Downloading hugo release extended_0.101.0...
curl: (22) The requested URL returned error: 404
asdf-hugo: Could not download https://github.com/gohugoio/hugo/releases/download/vextended_0.101.0/hugo_extended_0.101.0_macOS-ARM64.tar.gz
Steps to reproduce
In the URL extended_
is being injected in two places, but should only be in one of them.
Expected behavior
I expected a download of:
https://github.com/gohugoio/hugo/releases/download/v0.101.0/hugo_extended_0.101.0_macOS-ARM64.tar.gz
But this URL was not generated by asdf-hugo.
Describe the bug
hugo_0.102.3_macOS-64bit.tar.gz
is not a release. The closest things that are similar:
https://github.com/gohugoio/hugo/releases/download/v0.102.3/hugo_0.102.3_macOS-universal.tar.gz
https://github.com/gohugoio/hugo/releases/download/v0.102.3/hugo_extended_0.102.3_macOS-universal.tar.gz
Steps to reproduce
$ asdf install hugo 0.102.3
* Downloading hugo release 0.102.3...
curl: (22) The requested URL returned error: 404
asdf-hugo: Could not download https://github.com/gohugoio/hugo/releases/download/v0.102.3/hugo_0.102.3_macOS-64bit.tar.gz
Expected behavior
A successful install!
Maybe hugo changed the naming scheme for MacOS releases?
Describe the bug
I'm not being able to install 0.99.1 on Mac OS Monterrey, using asdf 0.10.2
Steps to reproduce
โ /usr/local/bin asdf --version
v0.10.2
โ /usr/local/bin asdf plugin update hugo
Updating hugo to main
Already on 'main'
Your branch is up to date with 'origin/main'.
โ /usr/local/bin date
Mon Dec 5 12:03:24 CST 2022
โ /usr/local/bin sw_vers -productVersion
12.6
โ /usr/local/bin asdf install hugo 0.99.1
mkdir: /Users/alfredocambera/.asdf/downloads/hugo/0.99.1: File exists
* Downloading hugo release 0.99.1...
curl: (22) The requested URL returned error: 404 Not Found
asdf-hugo: Could not download https://github.com/gohugoio/hugo/releases/download/v0.99.1/hugo_0.99.1_macOS-universal.tar.gz
Expected behavior
Being able to install 0.99.1
Screenshots
Additional context
The fix (#8) doesn't fix the path for hugo versions not using the universal
suffix in the download URL.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.