mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 04:34:51 -04:00
Bump version references
This commit is contained in:
parent
b51bd55483
commit
a1188fe28f
@ -158,7 +158,7 @@ CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
|
|||||||
To build and install a specific release:
|
To build and install a specific release:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.123.0
|
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.123.7
|
||||||
```
|
```
|
||||||
|
|
||||||
To build and install at the latest commit on the master branch:
|
To build and install at the latest commit on the master branch:
|
||||||
|
@ -11,5 +11,5 @@ action:
|
|||||||
---
|
---
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.123.0">
|
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.123.7">
|
||||||
```
|
```
|
||||||
|
@ -11,5 +11,5 @@ action:
|
|||||||
---
|
---
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ hugo.Version }} → 0.123.0
|
{{ hugo.Version }} → 0.123.7
|
||||||
```
|
```
|
||||||
|
@ -24,7 +24,7 @@ Let's say you need to publish a file named "site.json" in the root of your publi
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"build_date": "2024-02-19T12:27:05-08:00",
|
"build_date": "2024-02-19T12:27:05-08:00",
|
||||||
"hugo_version": "0.123.0",
|
"hugo_version": "0.123.7",
|
||||||
"last_modified": "2024-02-19T12:01:42-08:00"
|
"last_modified": "2024-02-19T12:01:42-08:00"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -139,7 +139,7 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
variables:
|
variables:
|
||||||
HUGO_VERSION: 0.123.0
|
HUGO_VERSION: 0.123.7
|
||||||
DART_SASS_VERSION: 1.71.0
|
DART_SASS_VERSION: 1.71.0
|
||||||
GIT_DEPTH: 0
|
GIT_DEPTH: 0
|
||||||
GIT_STRATEGY: clone
|
GIT_STRATEGY: clone
|
||||||
@ -173,7 +173,7 @@ To install Dart Sass for your builds on Netlify, the `netlify.toml` file should
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.123.0"
|
HUGO_VERSION = "0.123.7"
|
||||||
DART_SASS_VERSION = "1.71.0"
|
DART_SASS_VERSION = "1.71.0"
|
||||||
TZ = "America/Los_Angeles"
|
TZ = "America/Los_Angeles"
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.123.0
|
HUGO_VERSION: 0.123.7
|
||||||
steps:
|
steps:
|
||||||
- name: Install Hugo CLI
|
- name: Install Hugo CLI
|
||||||
run: |
|
run: |
|
||||||
|
@ -28,7 +28,7 @@ Define your [CI/CD](https://docs.gitlab.com/ee/ci/quick_start/) jobs by creating
|
|||||||
{{< code file=.gitlab-ci.yml copy=true >}}
|
{{< code file=.gitlab-ci.yml copy=true >}}
|
||||||
variables:
|
variables:
|
||||||
DART_SASS_VERSION: 1.71.0
|
DART_SASS_VERSION: 1.71.0
|
||||||
HUGO_VERSION: 0.123.0
|
HUGO_VERSION: 0.123.7
|
||||||
NODE_VERSION: 20.x
|
NODE_VERSION: 20.x
|
||||||
GIT_DEPTH: 0
|
GIT_DEPTH: 0
|
||||||
GIT_STRATEGY: clone
|
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:
|
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 >}}
|
{{< code file=netlify.toml >}}
|
||||||
HUGO_VERSION = "0.123.0"
|
HUGO_VERSION = "0.123.7"
|
||||||
TZ = "America/Los_Angeles"
|
TZ = "America/Los_Angeles"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
@ -111,7 +111,7 @@ command = "hugo --gc --minify"
|
|||||||
If your site requires Dart Sass to transpile Sass to CSS, the configuration file should look something like this:
|
If your site requires Dart Sass to transpile Sass to CSS, the configuration file should look something like this:
|
||||||
|
|
||||||
{{< code file=netlify.toml >}}
|
{{< code file=netlify.toml >}}
|
||||||
HUGO_VERSION = "0.123.0"
|
HUGO_VERSION = "0.123.7"
|
||||||
DART_SASS_VERSION = "1.71.0"
|
DART_SASS_VERSION = "1.71.0"
|
||||||
TZ = "America/Los_Angeles"
|
TZ = "America/Los_Angeles"
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
variables:
|
variables:
|
||||||
HUGO_VERSION: 0.123.0
|
HUGO_VERSION: 0.123.7
|
||||||
DART_SASS_VERSION: 1.71.0
|
DART_SASS_VERSION: 1.71.0
|
||||||
GIT_DEPTH: 0
|
GIT_DEPTH: 0
|
||||||
GIT_STRATEGY: clone
|
GIT_STRATEGY: clone
|
||||||
|
Loading…
x
Reference in New Issue
Block a user