Skip to content

Commit a4b23a5

Browse files
🥳 Bump to Hugo 0.123.0 (#52)
New release of Hugo, i.e., `0.123.0` is up: https://github.com/gohugoio/hugo/releases/tag/v0.123.0
2 parents e91e4ce + 9b90c16 commit a4b23a5

File tree

5 files changed

+12
-18
lines changed

5 files changed

+12
-18
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Set up Go toolchain
6262
uses: actions/setup-go@v5
6363
with:
64-
go-version: '1.21.6'
64+
go-version: '1.22.0'
6565
cache: false
6666

6767
- name: Install MinGW compiler(s)
@@ -103,13 +103,7 @@ jobs:
103103
output-dir: wheelhouse
104104
env:
105105
CIBW_ARCHS_LINUX: x86_64
106-
CIBW_BEFORE_ALL_LINUX: >
107-
yum install -y wget &&
108-
wget https://golang.org/dl/go1.21.6.linux-amd64.tar.gz &&
109-
mkdir $HOME/go_installed &&
110-
tar -C $HOME/go_installed/ -xzf go1.21.6.linux-amd64.tar.gz &&
111-
export PATH="$HOME/go_installed/go/bin:$PATH" &&
112-
go version
106+
CIBW_BEFORE_ALL_LINUX: bash scripts/ci/tools/linux/install_go.sh
113107
CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/go_installed/go/bin
114108
CIBW_REPAIR_WHEEL_COMMAND_LINUX: ''
115109
CIBW_TEST_COMMAND: >
@@ -211,7 +205,7 @@ jobs:
211205
- name: Set up Go toolchain
212206
uses: actions/setup-go@v5
213207
with:
214-
go-version: '1.21.6'
208+
go-version: '1.22.0'
215209
cache: false
216210
check-latest: true
217211

@@ -250,7 +244,7 @@ jobs:
250244
- name: Set up Go toolchain
251245
uses: actions/setup-go@v5
252246
with:
253-
go-version: '1.21.6'
247+
go-version: '1.22.0'
254248
cache: false
255249
check-latest: true
256250

@@ -288,7 +282,7 @@ jobs:
288282
- name: Set up Go toolchain
289283
uses: actions/setup-go@v5
290284
with:
291-
go-version: '1.21.6'
285+
go-version: '1.22.0'
292286
cache: false
293287
check-latest: true
294288

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
id: setup-go
6060
uses: actions/setup-go@v5
6161
with:
62-
go-version: "1.21.6"
62+
go-version: "1.22.0"
6363
cache: false
6464
check-latest: true
6565

hugo/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from sys import argv
1515
from sys import platform as sysplatform
1616

17-
HUGO_VERSION = "0.122.0"
17+
HUGO_VERSION = "0.123.0"
1818

1919
FILE_EXT = ".exe" if sysplatform == "win32" else ""
2020

scripts/ci/tools/linux/install_go.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ yum install -y wget
77
arch=$(uname -m)
88

99
if [ "$arch" == "x86_64" ]; then
10-
tarball="go1.21.6.linux-amd64.tar.gz"
10+
tarball="go1.22.0.linux-amd64.tar.gz"
1111
elif [[ "$arch" == "aarch64" || "$arch" == "arm64" ]]; then
12-
tarball="go1.21.6.linux-arm64.tar.gz"
12+
tarball="go1.22.0.linux-arm64.tar.gz"
1313
else
1414
echo "Unsupported architecture: $arch"
1515
exit 1

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
from wheel.bdist_wheel import bdist_wheel, get_platform
1414

1515
# Has to be kept in sync with the version in hugo/cli.py and incantation of setup()
16-
HUGO_VERSION = "0.122.0"
16+
HUGO_VERSION = "0.123.0"
1717
HUGO_RELEASE = (
1818
f"https://github.com/gohugoio/hugo/archive/refs/tags/v{HUGO_VERSION}.tar.gz"
1919
)
2020
# Commit hash for current HUGO_VERSION, needs to be updated when HUGO_VERSION is updated
2121
# Tip: git ls-remote --tags https://github.com/gohugoio/hugo v<HUGO_VERSION>
22-
HUGO_RElEASE_COMMIT_HASH = "6d5b44305eaa9d0a157946492a6f319da38de154"
22+
HUGO_RElEASE_COMMIT_HASH = "3c8a4713908e48e6523f058ca126710397aa4ed5"
2323
# The pooch tool will download the tarball into the hugo_cache/ directory.
2424
# We will point the build command to that location to build Hugo from source
2525
HUGO_CACHE_DIR = "hugo_cache"
26-
HUGO_SHA256 = "7468280290ce43276e26f964b0cab234d2bf0546f80295890189054b98ffac38"
26+
HUGO_SHA256 = "877f4d8246053d6e577fc57d85291c8b1e88635e2711d00ba5708c3782cef89e"
2727
FILE_EXT = ".exe" if sys.platform == "win32" else ""
2828

2929
# The vendor name is used to set the vendorInfo variable in the Hugo binary

0 commit comments

Comments
 (0)