Update Hugo module upgrade step

This commit is contained in:
Gabriel Arazas 2023-04-28 00:57:32 +08:00
parent 092df10444
commit f2cd900ff8
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -4,7 +4,7 @@ serve:
.PHONY : update
update:
curl --silent --location https://api.github.com/repos/foo-dogsquared/hugo-mod-simple-icons/commits | jq '.[0].sha' --raw-output | xargs --replace='{}' hugo mod get -u "github.com/foo-dogsquared/hugo-mod-simple-icons@{}" && hugo mod tidy
hugo mod get -u ./...
.PHONY : build-demo
build-demo: