1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-22 04:08:49 +02:00

docs: update

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2022-08-04 15:36:07 -03:00
parent ebd2afdf3c
commit eb83d0db6d
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

70
www/docs/static/schema-pro.json generated vendored
View File

@ -1,5 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/pkg/config/project", "$id": "https://github.com/goreleaser/goreleaser/pkg/config/project",
"$ref": "#/$defs/Project", "$ref": "#/$defs/Project",
"$defs": { "$defs": {
@ -96,10 +96,7 @@
"After": { "After": {
"properties": { "properties": {
"hooks": { "hooks": {
"items": { "$ref": "#/$defs/Hooks"
"$ref": "#/$defs/Hook"
},
"type": "array"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
@ -196,6 +193,21 @@
}, },
"allow_different_binary_count": { "allow_different_binary_count": {
"type": "boolean" "type": "boolean"
},
"hooks": {
"$ref": "#/$defs/ArchiveHooks"
}
},
"additionalProperties": false,
"type": "object"
},
"ArchiveHooks": {
"properties": {
"before": {
"$ref": "#/$defs/Hooks"
},
"after": {
"$ref": "#/$defs/Hooks"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
@ -204,10 +216,7 @@
"Before": { "Before": {
"properties": { "properties": {
"hooks": { "hooks": {
"items": { "$ref": "#/$defs/Hooks"
"$ref": "#/$defs/Hook"
},
"type": "array"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
@ -411,16 +420,10 @@
"BuildHookConfig": { "BuildHookConfig": {
"properties": { "properties": {
"pre": { "pre": {
"items": { "$ref": "#/$defs/Hooks"
"$ref": "#/$defs/Hook"
},
"type": "array"
}, },
"post": { "post": {
"items": { "$ref": "#/$defs/Hooks"
"$ref": "#/$defs/Hook"
},
"type": "array"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
@ -554,6 +557,12 @@
"group" "group"
] ]
}, },
"Contents": {
"items": {
"$ref": "#/$defs/Content"
},
"type": "array"
},
"Discord": { "Discord": {
"properties": { "properties": {
"enabled": { "enabled": {
@ -704,7 +713,7 @@
"type": "string" "type": "string"
}, },
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/pkg/config/t", "$id": "https://github.com/goreleaser/goreleaser/pkg/config/t",
"$defs": { "$defs": {
"FileInfo": { "FileInfo": {
@ -802,6 +811,9 @@
}, },
"secret_name": { "secret_name": {
"type": "string" "type": "string"
},
"skip": {
"type": "string"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
@ -1014,7 +1026,7 @@
"type": "string" "type": "string"
}, },
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/pkg/config/homebrew-dependency", "$id": "https://github.com/goreleaser/goreleaser/pkg/config/homebrew-dependency",
"properties": { "properties": {
"name": { "name": {
@ -1035,7 +1047,7 @@
"type": "string" "type": "string"
}, },
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/pkg/config/t", "$id": "https://github.com/goreleaser/goreleaser/pkg/config/t",
"properties": { "properties": {
"dir": { "dir": {
@ -1059,6 +1071,12 @@
} }
] ]
}, },
"Hooks": {
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"IgnoredBuild": { "IgnoredBuild": {
"properties": { "properties": {
"goos": { "goos": {
@ -1297,10 +1315,7 @@
"type": "array" "type": "array"
}, },
"contents": { "contents": {
"items": { "$ref": "#/$defs/Contents"
"$ref": "#/$defs/Content"
},
"type": "array"
}, },
"scripts": { "scripts": {
"$ref": "#/$defs/NFPMScripts" "$ref": "#/$defs/NFPMScripts"
@ -1556,10 +1571,7 @@
"type": "array" "type": "array"
}, },
"contents": { "contents": {
"items": { "$ref": "#/$defs/Contents"
"$ref": "#/$defs/Content"
},
"type": "array"
}, },
"scripts": { "scripts": {
"$ref": "#/$defs/NFPMScripts" "$ref": "#/$defs/NFPMScripts"
@ -2679,4 +2691,4 @@
} }
}, },
"description": "goreleaser configuration definition file" "description": "goreleaser configuration definition file"
} }