From 46e9db4843735b7c072e04aa38493c288ba0e530 Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Wed, 17 Aug 2022 23:52:05 -0300 Subject: [PATCH] docs: update schema Signed-off-by: Carlos A Becker --- www/docs/static/schema-pro.json | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/www/docs/static/schema-pro.json b/www/docs/static/schema-pro.json index ead13b7a571..07de26a80ae 100644 --- a/www/docs/static/schema-pro.json +++ b/www/docs/static/schema-pro.json @@ -555,10 +555,7 @@ } }, "additionalProperties": false, - "type": "object", - "required": [ - "group" - ] + "type": "object" }, "Contents": { "items": { @@ -758,6 +755,32 @@ } ] }, + "FileInfo": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://github.com/goreleaser/goreleaser/pkg/config/file-info", + "$ref": "#/$defs/FileInfo", + "$defs": { + "FileInfo": { + "properties": { + "owner": { + "type": "string" + }, + "group": { + "type": "string" + }, + "mode": { + "type": "integer" + }, + "mtime": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "type": "object" + } + } + }, "Filters": { "properties": { "exclude": {