From adc279a15c20b78894a16bca30cd2878aa27184e Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Wed, 1 Mar 2023 01:45:52 -0300 Subject: [PATCH] docs: update Signed-off-by: Carlos A Becker --- www/docs/customization/fury.md | 3 +++ www/docs/customization/ko.md | 8 ++++---- www/docs/static/schema-pro.json | 28 ++++++++++++++++++++++++++++ www/mkdocs.yml | 1 + 4 files changed, 36 insertions(+), 4 deletions(-) diff --git a/www/docs/customization/fury.md b/www/docs/customization/fury.md index a52340fcc..af9f77edb 100644 --- a/www/docs/customization/fury.md +++ b/www/docs/customization/fury.md @@ -66,3 +66,6 @@ furies: [fury]: https://gemfury.com + +!!! tip + Learn more about the [name template engine](/customization/templates/). diff --git a/www/docs/customization/ko.md b/www/docs/customization/ko.md index f0a3e5999..271092a2e 100644 --- a/www/docs/customization/ko.md +++ b/www/docs/customization/ko.md @@ -1,6 +1,6 @@ # Docker Images with Ko -> Since v1.15. +> Since v1.15.0. You can also use [ko][] to build and publish Docker container images. @@ -10,9 +10,9 @@ options as the [build][] pipe when possible, so the results will probably be cached. !!! warning - Ko only runs on the publish phase, so it might be a bit hard to test — you - might need to push to a fake repository (or a fake tag) when playing around - with its configuration. + Ko only runs on the publishing phase, so it might be a bit hard to test — + you might need to push to a fake repository (or a fake tag) when playing + around with its configuration. ```yaml # .goreleaser.yaml diff --git a/www/docs/static/schema-pro.json b/www/docs/static/schema-pro.json index d71c838ae..8d72a87e1 100644 --- a/www/docs/static/schema-pro.json +++ b/www/docs/static/schema-pro.json @@ -2259,6 +2259,12 @@ "git": { "$ref": "#/$defs/Git" }, + "template_files": { + "items": { + "$ref": "#/$defs/TemplateFile" + }, + "type": "array" + }, "universal_binaries": { "items": { "$ref": "#/$defs/UniversalBinary" @@ -3072,6 +3078,28 @@ "additionalProperties": false, "type": "object" }, + "TemplateFile": { + "properties": { + "id": { + "type": "string" + }, + "src": { + "type": "string" + }, + "dst": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "src", + "dst" + ] + }, "Twitter": { "properties": { "enabled": { diff --git a/www/mkdocs.yml b/www/mkdocs.yml index 28a37814f..0345cf36a 100644 --- a/www/mkdocs.yml +++ b/www/mkdocs.yml @@ -93,6 +93,7 @@ nav: - customization/dist.md - customization/project.md - customization/git.md + - customization/templatefiles.md - Build: - customization/builds.md - customization/verifiable_builds.md