1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +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

68
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",
"$ref": "#/$defs/Project",
"$defs": {
@ -96,10 +96,7 @@
"After": {
"properties": {
"hooks": {
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
"$ref": "#/$defs/Hooks"
}
},
"additionalProperties": false,
@ -196,6 +193,21 @@
},
"allow_different_binary_count": {
"type": "boolean"
},
"hooks": {
"$ref": "#/$defs/ArchiveHooks"
}
},
"additionalProperties": false,
"type": "object"
},
"ArchiveHooks": {
"properties": {
"before": {
"$ref": "#/$defs/Hooks"
},
"after": {
"$ref": "#/$defs/Hooks"
}
},
"additionalProperties": false,
@ -204,10 +216,7 @@
"Before": {
"properties": {
"hooks": {
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
"$ref": "#/$defs/Hooks"
}
},
"additionalProperties": false,
@ -411,16 +420,10 @@
"BuildHookConfig": {
"properties": {
"pre": {
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
"$ref": "#/$defs/Hooks"
},
"post": {
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
"$ref": "#/$defs/Hooks"
}
},
"additionalProperties": false,
@ -554,6 +557,12 @@
"group"
]
},
"Contents": {
"items": {
"$ref": "#/$defs/Content"
},
"type": "array"
},
"Discord": {
"properties": {
"enabled": {
@ -704,7 +713,7 @@
"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",
"$defs": {
"FileInfo": {
@ -802,6 +811,9 @@
},
"secret_name": {
"type": "string"
},
"skip": {
"type": "string"
}
},
"additionalProperties": false,
@ -1014,7 +1026,7 @@
"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",
"properties": {
"name": {
@ -1035,7 +1047,7 @@
"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",
"properties": {
"dir": {
@ -1059,6 +1071,12 @@
}
]
},
"Hooks": {
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"IgnoredBuild": {
"properties": {
"goos": {
@ -1297,10 +1315,7 @@
"type": "array"
},
"contents": {
"items": {
"$ref": "#/$defs/Content"
},
"type": "array"
"$ref": "#/$defs/Contents"
},
"scripts": {
"$ref": "#/$defs/NFPMScripts"
@ -1556,10 +1571,7 @@
"type": "array"
},
"contents": {
"items": {
"$ref": "#/$defs/Content"
},
"type": "array"
"$ref": "#/$defs/Contents"
},
"scripts": {
"$ref": "#/$defs/NFPMScripts"