mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 01:34:41 -04:00
Update version strings
This commit is contained in:
parent
5770d37c0d
commit
fcab32c62d
@ -158,7 +158,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.122.0
|
||||
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.123.0
|
||||
```
|
||||
|
||||
To build and install at the latest commit on the master branch:
|
||||
|
@ -11,5 +11,5 @@ action:
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.122.0">
|
||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.123.0">
|
||||
```
|
||||
|
@ -11,5 +11,5 @@ action:
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.Version }} → 0.122.0
|
||||
{{ hugo.Version }} → 0.123.0
|
||||
```
|
||||
|
@ -23,9 +23,9 @@ Let's say you need to publish a file named "site.json" in the root of your publi
|
||||
|
||||
```json
|
||||
{
|
||||
"build_date": "2023-10-03T10:50:40-07:00",
|
||||
"hugo_version": "0.122.0",
|
||||
"last_modified": "2023-10-02T15:21:27-07:00"
|
||||
"build_date": "2024-02-19T12:27:05-08:00",
|
||||
"hugo_version": "0.123.0",
|
||||
"last_modified": "2024-02-19T12:01:42-08:00"
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -139,8 +139,8 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
|
||||
|
||||
```yaml
|
||||
variables:
|
||||
HUGO_VERSION: 0.122.0
|
||||
DART_SASS_VERSION: 1.70.0
|
||||
HUGO_VERSION: 0.123.0
|
||||
DART_SASS_VERSION: 1.71.0
|
||||
GIT_DEPTH: 0
|
||||
GIT_STRATEGY: clone
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
@ -173,8 +173,8 @@ To install Dart Sass for your builds on Netlify, the `netlify.toml` file should
|
||||
|
||||
```toml
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.122.0"
|
||||
DART_SASS_VERSION = "1.70.0"
|
||||
HUGO_VERSION = "0.123.0"
|
||||
DART_SASS_VERSION = "1.71.0"
|
||||
TZ = "America/Los_Angeles"
|
||||
|
||||
[build]
|
||||
|
@ -23,7 +23,7 @@ hugo version
|
||||
You should see something like:
|
||||
|
||||
```text
|
||||
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended linux/amd64 BuildDate=2024-01-26T15:54:24Z VendorInfo=gohugoio
|
||||
hugo v0.123.0-3c8a4713908e48e6523f058ca126710397aa4ed5+extended linux/amd64 BuildDate=2024-02-19T16:32:38Z VendorInfo=gohugoio
|
||||
```
|
||||
|
||||
## Display available commands
|
||||
|
@ -97,7 +97,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUGO_VERSION: 0.122.0
|
||||
HUGO_VERSION: 0.123.0
|
||||
steps:
|
||||
- name: Install Hugo CLI
|
||||
run: |
|
||||
|
@ -27,8 +27,8 @@ Define your [CI/CD](https://docs.gitlab.com/ee/ci/quick_start/) jobs by creating
|
||||
|
||||
{{< code file=.gitlab-ci.yml copy=true >}}
|
||||
variables:
|
||||
DART_SASS_VERSION: 1.70.0
|
||||
HUGO_VERSION: 0.122.0
|
||||
DART_SASS_VERSION: 1.71.0
|
||||
HUGO_VERSION: 0.123.0
|
||||
NODE_VERSION: 20.x
|
||||
GIT_DEPTH: 0
|
||||
GIT_STRATEGY: clone
|
||||
|
@ -100,7 +100,7 @@ In the procedure above we configured our site using the Netlify user interface.
|
||||
Create a new file named netlify.toml in the root of your project directory. In its simplest form, the configuration file might look like this:
|
||||
|
||||
{{< code file=netlify.toml >}}
|
||||
HUGO_VERSION = "0.122.0"
|
||||
HUGO_VERSION = "0.123.0"
|
||||
TZ = "America/Los_Angeles"
|
||||
|
||||
[build]
|
||||
@ -111,8 +111,8 @@ command = "hugo --gc --minify"
|
||||
If your site requires Dart Sass to transpile Sass to CSS, the configuration file should look something like this:
|
||||
|
||||
{{< code file=netlify.toml >}}
|
||||
HUGO_VERSION = "0.122.0"
|
||||
DART_SASS_VERSION = "1.70.0"
|
||||
HUGO_VERSION = "0.123.0"
|
||||
DART_SASS_VERSION = "1.71.0"
|
||||
TZ = "America/Los_Angeles"
|
||||
|
||||
[build]
|
||||
|
@ -136,8 +136,8 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
|
||||
|
||||
```yaml
|
||||
variables:
|
||||
HUGO_VERSION: 0.122.0
|
||||
DART_SASS_VERSION: 1.70.0
|
||||
HUGO_VERSION: 0.123.0
|
||||
DART_SASS_VERSION: 1.71.0
|
||||
GIT_DEPTH: 0
|
||||
GIT_STRATEGY: clone
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
@ -171,7 +171,7 @@ To install Dart Sass for your builds on Netlify, the `netlify.toml` file should
|
||||
```toml
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.122.2"
|
||||
DART_SASS_VERSION = "1.70.0"
|
||||
DART_SASS_VERSION = "1.71.0"
|
||||
TZ = "America/Los_Angeles"
|
||||
|
||||
[build]
|
||||
|
Loading…
x
Reference in New Issue
Block a user