update go and hugo verison

This commit is contained in:
Somrat 2024-04-15 10:42:05 +06:00
parent f994a8b6e6
commit 209218706c
7 changed files with 21 additions and 21 deletions

View File

@ -15,8 +15,8 @@ permissions:
# Environment variables available to all jobs and steps in this workflow
env:
HUGO_ENV: production
HUGO_VERSION: "0.121.2"
GO_VERSION: "1.20.5"
HUGO_VERSION: "0.124.1"
GO_VERSION: "1.22.2"
NODE_VERSION: "20.0.0"
TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }}
TINA_TOKEN: ${{ vars.TINA_TOKEN }}

View File

@ -3,8 +3,8 @@ stages:
variables:
HUGO_ENV: production
HUGO_VERSION: "0.121.2"
GO_VERSION: "1.20.5"
HUGO_VERSION: "0.124.1"
GO_VERSION: "1.22.2"
NODE_VERSION: "18.16.1"
cache:

View File

@ -4,16 +4,16 @@ frontend:
preBuild:
commands:
- yum install -y curl
- curl -LO "https://github.com/gohugoio/hugo/releases/download/v0.121.2/hugo_extended_0.121.2_Linux-64bit.tar.gz"
- tar -xvf hugo_extended_0.121.2_Linux-64bit.tar.gz
- 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
- mv hugo /usr/local/bin/
- rm hugo_extended_0.121.2_Linux-64bit.tar.gz
- echo "HUGO 0.121.2 INSTALLED"
- curl -LO "https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz"
- tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz
- rm hugo_extended_0.124.1_Linux-64bit.tar.gz
- echo "HUGO 0.124.1 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
- rm go1.20.5.linux-amd64.tar.gz
- echo "GO 1.20.5 INSTALLED"
- rm go1.22.2.linux-amd64.tar.gz
- echo "GO 1.22.2 INSTALLED"
- npm install
build:
commands:

View File

@ -3,5 +3,5 @@ publish = "public"
command = "yarn project-setup; yarn build"
[build.environment]
HUGO_VERSION = "0.121.2"
GO_VERSION = "1.20.5"
HUGO_VERSION = "0.124.1"
GO_VERSION = "1.22.2"

View File

@ -9,8 +9,8 @@
</h2>
<p align="center">
<a href="https://github.com/gohugoio/hugo/releases/tag/v0.121.2" alt="Contributors">
<img src="https://img.shields.io/static/v1?label=min-HUGO-version&message=0.121.2&color=f00&logo=hugo" />
<a href="https://github.com/gohugoio/hugo/releases/tag/v0.124.1" alt="Contributors">
<img src="https://img.shields.io/static/v1?label=min-HUGO-version&message=0.124.1&color=f00&logo=hugo" />
</a>
<a href="https://github.com/zeon-studio/hugoplate/blob/main/LICENSE">

View File

@ -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.121.2"
min_version = "0.124.1"
tags = [
"blog",

View File

@ -2,8 +2,8 @@
# default versions
NODE_VERSION='18.16.1';
GO_VERSION='1.20.5';
HUGO_VERSION='0.121.2';
GO_VERSION='1.22.2';
HUGO_VERSION='0.124.1';
# install Node.js
# echo "Installing Node.js $NODE_VERSION..."