From 65ea3ca8dbf3a6c6a247f0482c5301068a43da54 Mon Sep 17 00:00:00 2001 From: Somrat <58769763+tfsomrat@users.noreply.github.com> Date: Wed, 25 Sep 2024 11:58:24 +0600 Subject: [PATCH] update hugo version --- .github/workflows/main.yml | 2 +- .gitlab-ci.yml | 2 +- amplify.yml | 8 ++++---- exampleSite/config/_default/module.toml | 2 +- netlify.toml | 2 +- theme.toml | 2 +- vercel-build.sh | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 881144b..ad1a3e9 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ permissions: # Environment variables available to all jobs and steps in this workflow env: HUGO_ENV: production - HUGO_VERSION: "0.124.1" + HUGO_VERSION: "0.134.3" GO_VERSION: "1.22.2" NODE_VERSION: "20.0.0" TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c4120a0..52ed5dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ stages: variables: HUGO_ENV: production - HUGO_VERSION: "0.124.1" + HUGO_VERSION: "0.134.3" GO_VERSION: "1.22.2" NODE_VERSION: "18.16.1" diff --git a/amplify.yml b/amplify.yml index d6d960f..ce755f7 100644 --- a/amplify.yml +++ b/amplify.yml @@ -4,11 +4,11 @@ frontend: preBuild: commands: - yum install -y curl - - curl -LO "https://github.com/gohugoio/hugo/releases/download/v0.124.1/hugo_extended_0.124.1_Linux-64bit.tar.gz" - - tar -xvf hugo_extended_0.124.1_Linux-64bit.tar.gz + - curl -LO "https://github.com/gohugoio/hugo/releases/download/v0.134.3/hugo_extended_0.134.3_Linux-64bit.tar.gz" + - tar -xvf hugo_extended_0.134.3_Linux-64bit.tar.gz - mv hugo /usr/local/bin/ - - rm hugo_extended_0.124.1_Linux-64bit.tar.gz - - echo "HUGO 0.124.1 INSTALLED" + - rm hugo_extended_0.134.3_Linux-64bit.tar.gz + - echo "HUGO 0.134.3 INSTALLED" - curl -LO "https://dl.google.com/go/go1.22.2.linux-amd64.tar.gz" - tar -C /usr/local -xzf go1.22.2.linux-amd64.tar.gz - export PATH=$PATH:/usr/local/go/bin diff --git a/exampleSite/config/_default/module.toml b/exampleSite/config/_default/module.toml index 39cb6b4..6d31a75 100644 --- a/exampleSite/config/_default/module.toml +++ b/exampleSite/config/_default/module.toml @@ -1,6 +1,6 @@ [hugoVersion] extended = true -min = "0.124.1" +min = "0.134.3" [[imports]] path = "github.com/zeon-studio/hugoplate" diff --git a/netlify.toml b/netlify.toml index 717a07a..946c510 100755 --- a/netlify.toml +++ b/netlify.toml @@ -3,5 +3,5 @@ publish = "public" command = "yarn project-setup; yarn build" [build.environment] -HUGO_VERSION = "0.124.1" +HUGO_VERSION = "0.134.3" GO_VERSION = "1.22.2" diff --git a/theme.toml b/theme.toml index 125f89c..c68b573 100644 --- a/theme.toml +++ b/theme.toml @@ -4,7 +4,7 @@ licenselink = "https://github.com/zeon-studio/hugoplate/blob/main/LICENSE" description = "Hugoplate is a free starter template built with Hugo, and TailwindCSS, providing everything you need to jumpstart your Hugo project and save valuable time." homepage = "https://github.com/zeon-studio/hugoplate" demosite = "https://zeon.studio/preview?project=hugoplate" -min_version = "0.124.1" +min_version = "0.134.3" tags = [ "blog", diff --git a/vercel-build.sh b/vercel-build.sh index 49122c7..0b9461f 100755 --- a/vercel-build.sh +++ b/vercel-build.sh @@ -3,7 +3,7 @@ # default versions NODE_VERSION='18.16.1'; GO_VERSION='1.22.2'; -HUGO_VERSION='0.124.1'; +HUGO_VERSION='0.134.3'; # install Node.js # echo "Installing Node.js $NODE_VERSION..."