From 9d3ccb14db7aaba85e5693d42895c26f94ba7b02 Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 24 Apr 2024 22:31:47 -0700 Subject: [PATCH] Pin Hugo v0.119.0 Signed-off-by: Tommy --- cloudflare-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cloudflare-build.sh b/cloudflare-build.sh index d6f4261..9ecd260 100644 --- a/cloudflare-build.sh +++ b/cloudflare-build.sh @@ -1,6 +1,8 @@ #!/bin/bash -curl -L -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*extended.*linux-amd64.tar.gz" | cut -d : -f 2,3 | sed 's/"//g' | xargs wget +#curl -L -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*extended.*linux-amd64.tar.gz" | cut -d : -f 2,3 | sed 's/"//g' | xargs wget + +wget https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_0.119.0_Linux-64bit.tar.gz tar xvf ./*.tar.gz chmod u+x ./hugo