Skip to content

Commit c762a36

Browse files
Update Hugo to v0.158.0 (#281)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
1 parent 6034680 commit c762a36

6 files changed

Lines changed: 15 additions & 14 deletions

File tree

.github/update-hugo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ https://github.com/gohugoio/hugo/releases/tag/v${LATEST_VERSION}
1212

1313
### Release checklist
1414

15+
- [ ] Check the release notes for any interesting changes, and if the Go version has been updated (if so, update the Go version in `ci.yml` and `cd.yml` manually)
1516
- [ ] Merge this PR
1617
- [ ] Run `nox -s tag -- v${LATEST_VERSION}` locally to create a signed tag
1718
- [ ] Push the tag: `git push origin v${LATEST_VERSION}` — the CD workflow will build and publish the release automatically

.github/workflows/cd.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666

6767
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
6868
with:
69-
go-version: "1.25.4"
69+
go-version: "1.26.1"
7070
cache: false
7171

7272
- name: Install MinGW compiler(s)
@@ -104,7 +104,7 @@ jobs:
104104

105105
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
106106
with:
107-
go-version: "1.25.4"
107+
go-version: "1.26.1"
108108
cache: false
109109
check-latest: true
110110

@@ -146,7 +146,7 @@ jobs:
146146

147147
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
148148
with:
149-
go-version: "1.25.4"
149+
go-version: "1.26.1"
150150
cache: false
151151

152152
# Note: cibuildwheel will manage installing 32-bit Python on Windows. We
@@ -194,7 +194,7 @@ jobs:
194194
env:
195195
CIBW_ARCHS_LINUX: x86_64
196196
CIBW_BEFORE_ALL_LINUX: |
197-
tarball="go1.25.4.linux-amd64.tar.gz"
197+
tarball="go1.26.1.linux-amd64.tar.gz"
198198
curl -LJO https://golang.org/dl/$tarball
199199
mkdir $HOME/go_installed/
200200
tar -C $HOME/go_installed/ -xzf $tarball
@@ -231,7 +231,7 @@ jobs:
231231
env:
232232
CIBW_ARCHS_LINUX: aarch64
233233
CIBW_BEFORE_ALL_LINUX: |
234-
tarball="go1.25.4.linux-arm64.tar.gz"
234+
tarball="go1.26.1.linux-arm64.tar.gz"
235235
curl -LJO https://golang.org/dl/$tarball
236236
mkdir $HOME/go_installed/
237237
tar -C $HOME/go_installed/ -xzf $tarball
@@ -277,7 +277,7 @@ jobs:
277277
env:
278278
CIBW_ARCHS_LINUX: s390x
279279
CIBW_BEFORE_ALL_LINUX: |
280-
tarball="go1.25.4.linux-s390x.tar.gz"
280+
tarball="go1.26.1.linux-s390x.tar.gz"
281281
curl -LJO https://golang.org/dl/$tarball
282282
mkdir $HOME/go_installed/
283283
tar -C $HOME/go_installed/ -xzf $tarball
@@ -323,7 +323,7 @@ jobs:
323323
env:
324324
CIBW_ARCHS_LINUX: ppc64le
325325
CIBW_BEFORE_ALL_LINUX: |
326-
tarball="go1.25.4.linux-ppc64le.tar.gz"
326+
tarball="go1.26.1.linux-ppc64le.tar.gz"
327327
curl -LJO https://golang.org/dl/$tarball
328328
mkdir $HOME/go_installed/
329329
tar -C $HOME/go_installed/ -xzf $tarball
@@ -355,7 +355,7 @@ jobs:
355355

356356
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
357357
with:
358-
go-version: "1.25.4"
358+
go-version: "1.26.1"
359359
cache: false
360360
check-latest: true
361361

@@ -389,7 +389,7 @@ jobs:
389389

390390
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
391391
with:
392-
go-version: "1.25.4"
392+
go-version: "1.26.1"
393393
cache: false
394394
check-latest: true
395395

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
id: setup-go
7171
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
7272
with:
73-
go-version: "1.25.4"
73+
go-version: "1.26.1"
7474
cache: false
7575
check-latest: true
7676

@@ -131,7 +131,7 @@ jobs:
131131
id: setup-go
132132
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
133133
with:
134-
go-version: "1.25.4"
134+
go-version: "1.26.1"
135135
cache: false
136136
check-latest: true
137137

hugo

Submodule hugo updated 149 files

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# ------ Hugo build configuration and constants ------------------------------------
1616

1717
# Also update src/hugo/cli.py
18-
HUGO_VERSION = "0.157.0"
18+
HUGO_VERSION = "0.158.0"
1919

2020
# The Go toolchain will use the hugo_cache/ directory for GOPATH and GOCACHE.
2121
# We will point the build command to that location to build Hugo from source

src/hugo/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from pathlib import Path
1111
from sys import platform as sysplatform
1212

13-
HUGO_VERSION = "0.157.0"
13+
HUGO_VERSION = "0.158.0"
1414
FILE_EXT = ".exe" if sysplatform == "win32" else ""
1515
HUGO_PLATFORM = {"darwin": "darwin", "linux": "linux", "win32": "windows"}[sysplatform]
1616

0 commit comments

Comments
 (0)