1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-11 14:39:28 +02:00

docs: update

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2023-05-02 02:48:51 +00:00
parent 282f9fbf52
commit 59e7f1bd5a
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 97 additions and 5 deletions

View File

@ -277,9 +277,15 @@ nFPM will soon make mandatory setting the maintainer field.
- maintainer: 'Name <email>'
```
## Expired deprecation notices
The following options were deprecated in the past and were already removed.
### variables
> since 2022-01-20 (v1.4.0)
> since 2022-01-20 (v1.4.0), removed 2023-05-01 (v1.18.0)
On [GoReleaser PRO](/pro/) custom variables should now be prefixed with `.Var`.
@ -299,10 +305,6 @@ On [GoReleaser PRO](/pro/) custom variables should now be prefixed with `.Var`.
some_template: 'lala-{{ .Var.foo }}'
```
## Expired deprecation notices
The following options were deprecated in the past and were already removed.
### dockers.use: buildpacks
> since 2022-03-16 (v1.7.0), removed 2022-09-28 (v1.12.0)

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

@ -1181,6 +1181,21 @@
"additionalProperties": false,
"type": "object"
},
"GitRepoRef": {
"properties": {
"url": {
"type": "string"
},
"ssh_command": {
"type": "string"
},
"private_key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"GiteaURLs": {
"properties": {
"api": {
@ -2229,6 +2244,12 @@
"scoop": {
"$ref": "#/$defs/Scoop"
},
"scoops": {
"items": {
"$ref": "#/$defs/Scoop"
},
"type": "array"
},
"builds": {
"items": {
"$ref": "#/$defs/Build"
@ -2346,6 +2367,9 @@
"git": {
"$ref": "#/$defs/Git"
},
"report_sizes": {
"type": "boolean"
},
"template_files": {
"items": {
"$ref": "#/$defs/TemplateFile"
@ -2358,10 +2382,26 @@
},
"type": "array"
},
"upx": {
"items": {
"$ref": "#/$defs/UPX"
},
"type": "array"
},
"build": {
"$ref": "#/$defs/Build",
"description": "deprecated: use builds instead"
},
"force_token": {
"type": "string",
"enum": [
"github",
"gitlab",
"gitea",
""
],
"default": ""
},
"github_urls": {
"$ref": "#/$defs/GitHubURLs"
},
@ -2593,6 +2633,9 @@
"branch": {
"type": "string"
},
"git": {
"$ref": "#/$defs/GitRepoRef"
},
"pull_request": {
"$ref": "#/$defs/PullRequest"
}
@ -2680,6 +2723,12 @@
"name": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"bucket": {
"$ref": "#/$defs/RepoRef"
},
@ -3296,6 +3345,47 @@
"additionalProperties": false,
"type": "object"
},
"UPX": {
"properties": {
"enabled": {
"type": "boolean"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"binary": {
"type": "string"
},
"compress": {
"type": "string",
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"best",
""
],
"default": ""
},
"lzma": {
"type": "boolean"
},
"brute": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"UniversalBinary": {
"properties": {
"id": {