mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
content: Update version references
This commit is contained in:
@@ -77,7 +77,7 @@ extended
|
||||
: (`bool`) Whether the extended edition of Hugo is required, satisfied by installing either the extended or extended/deploy edition.
|
||||
|
||||
max
|
||||
: (`string`) The maximum Hugo version supported, for example `0.151.0`.
|
||||
: (`string`) The maximum Hugo version supported, for example `0.152.0`.
|
||||
|
||||
min
|
||||
: (`string`) The minimum Hugo version supported, for example `0.102.0`.
|
||||
|
||||
@@ -143,7 +143,7 @@ CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
|
||||
To build and install a specific release:
|
||||
|
||||
```sh
|
||||
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.151.0
|
||||
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.152.0
|
||||
```
|
||||
|
||||
To build and install at the latest commit on the master branch:
|
||||
|
||||
@@ -11,5 +11,5 @@ params:
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.151.0">
|
||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.152.0">
|
||||
```
|
||||
|
||||
@@ -11,5 +11,5 @@ params:
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.Version }} → 0.151.0
|
||||
{{ hugo.Version }} → 0.152.0
|
||||
```
|
||||
|
||||
@@ -23,7 +23,7 @@ Let's say you need to publish a file named "site.json" in the root of your `publ
|
||||
```json
|
||||
{
|
||||
"build_date": "2025-07-08T13:12:19-07:00",
|
||||
"hugo_version": "0.151.0",
|
||||
"hugo_version": "0.152.0",
|
||||
"last_modified": "2025-07-07T22:09:13-07:00"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -18,7 +18,7 @@ hugo version
|
||||
You should see something like:
|
||||
|
||||
```text
|
||||
hugo v0.151.0-c70ab27ceb841fc9404eab5d2c985ff7595034b7+extended linux/amd64 BuildDate=2025-10-02T13:30:36Z VendorInfo=gohugoio
|
||||
hugo v0.152.0-06bc2c16c0c0bbff7e662fbeef7ead6f9c55ea0d+extended linux/amd64 BuildDate=2025-10-21T16:29:49Z VendorInfo=gohugoio
|
||||
```
|
||||
|
||||
## Display available commands
|
||||
|
||||
@@ -41,8 +41,8 @@ Step 2
|
||||
variables:
|
||||
# Application versions
|
||||
DART_SASS_VERSION: 1.93.2
|
||||
GO_VERSION: 1.25.1
|
||||
HUGO_VERSION: 0.151.0
|
||||
GO_VERSION: 1.25.3
|
||||
HUGO_VERSION: 0.152.0
|
||||
# Time zone
|
||||
TZ: Europe/Oslo
|
||||
# Cache
|
||||
|
||||
@@ -52,9 +52,9 @@ Step 2
|
||||
main() {
|
||||
|
||||
DART_SASS_VERSION=1.93.2
|
||||
GO_VERSION=1.25.1
|
||||
HUGO_VERSION=0.151.0
|
||||
NODE_VERSION=22.18.0
|
||||
GO_VERSION=1.25.3
|
||||
HUGO_VERSION=0.152.0
|
||||
NODE_VERSION=22.20.0
|
||||
|
||||
export TZ=Europe/Oslo
|
||||
|
||||
|
||||
@@ -78,9 +78,9 @@ Step 4
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DART_SASS_VERSION: 1.93.2
|
||||
GO_VERSION: 1.25.1
|
||||
HUGO_VERSION: 0.151.0
|
||||
NODE_VERSION: 22.18.0
|
||||
GO_VERSION: 1.25.3
|
||||
HUGO_VERSION: 0.152.0
|
||||
NODE_VERSION: 22.20.0
|
||||
TZ: Europe/Oslo
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
@@ -25,8 +25,8 @@ Define your [CI/CD](g) jobs by creating a `.gitlab-ci.yml` file in the root of y
|
||||
variables:
|
||||
# Application versions
|
||||
DART_SASS_VERSION: 1.93.2
|
||||
HUGO_VERSION: 0.151.0
|
||||
NODE_VERSION: 22.18.0
|
||||
HUGO_VERSION: 0.152.0
|
||||
NODE_VERSION: 22.20.0
|
||||
# Git
|
||||
GIT_DEPTH: 0
|
||||
GIT_STRATEGY: clone
|
||||
@@ -35,7 +35,7 @@ variables:
|
||||
TZ: Europe/Oslo
|
||||
|
||||
image:
|
||||
name: golang:1.25.1-bookworm
|
||||
name: golang:1.25.3-bookworm
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
|
||||
@@ -31,9 +31,9 @@ Step 1
|
||||
```text {file="netlify.toml" copy=true}
|
||||
[build.environment]
|
||||
DART_SASS_VERSION = "1.93.2"
|
||||
GO_VERSION = "1.25.1"
|
||||
HUGO_VERSION = "0.151.0"
|
||||
NODE_VERSION = "22.18.0"
|
||||
GO_VERSION = "1.25.3"
|
||||
HUGO_VERSION = "0.152.0"
|
||||
NODE_VERSION = "22.20.0"
|
||||
TZ = "Europe/Oslo"
|
||||
|
||||
[build]
|
||||
@@ -49,9 +49,9 @@ Step 1
|
||||
```text {file="netlify.toml" copy=true}
|
||||
[build.environment]
|
||||
DART_SASS_VERSION = "1.93.2"
|
||||
GO_VERSION = "1.25.1"
|
||||
HUGO_VERSION = "0.151.0"
|
||||
NODE_VERSION = "22.18.0"
|
||||
GO_VERSION = "1.25.3"
|
||||
HUGO_VERSION = "0.152.0"
|
||||
NODE_VERSION = "22.20.0"
|
||||
TZ = "Europe/Oslo"
|
||||
|
||||
[build]
|
||||
|
||||
@@ -37,11 +37,11 @@ Step 1
|
||||
- key: DART_SASS_VERSION
|
||||
value: 1.93.2
|
||||
- key: GO_VERSION
|
||||
value: 1.25.1
|
||||
value: 1.25.3
|
||||
- key: HUGO_VERSION
|
||||
value: 0.151.0
|
||||
value: 0.152.0
|
||||
- key: NODE_VERSION
|
||||
value: 22.18.0
|
||||
value: 22.20.0
|
||||
- key: TZ
|
||||
value: Europe/Oslo
|
||||
```
|
||||
|
||||
@@ -48,9 +48,9 @@ Step 2
|
||||
main() {
|
||||
|
||||
DART_SASS_VERSION=1.93.2
|
||||
GO_VERSION=1.25.1
|
||||
HUGO_VERSION=0.151.0
|
||||
NODE_VERSION=22.18.0
|
||||
GO_VERSION=1.25.3
|
||||
HUGO_VERSION=0.152.0
|
||||
NODE_VERSION=22.20.0
|
||||
|
||||
export TZ=Europe/Oslo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user