1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: update

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2023-01-25 14:17:46 -03:00
parent 12d5ed0b0b
commit 98e3a7ff71
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
3 changed files with 18 additions and 4 deletions

View File

@ -20,12 +20,12 @@ goreleaser build [flags]
## Options
```
--clean Remove the dist folder before building
-f, --config string Load configuration from file
-h, --help help for build
--id stringArray Builds only the specified build ids
-o, --output string Copy the binary to the path after the build. Only taken into account when using --single-target and a single id (either with --id or if configuration only has one build)
-p, --parallelism int Amount tasks to run concurrently (default: number of CPUs)
--clean Remove the dist folder before building
--single-target Builds only for current GOOS and GOARCH, regardless of what's set in the configuration file
--skip-after Skips global after hooks
--skip-before Skips global before hooks

View File

@ -10,6 +10,7 @@ goreleaser release [flags]
```
--auto-snapshot Automatically sets --snapshot if the repository is dirty
--clean Removes the dist folder
-f, --config string Load configuration from file
-h, --help help for release
-k, --key string GoReleaser Pro license key [$GORELEASER_KEY]
@ -22,7 +23,6 @@ goreleaser release [flags]
--release-header-tmpl string Load custom release notes header from a templated markdown file (overrides --release-header)
--release-notes string Load custom release notes from a markdown file (will skip GoReleaser changelog generation)
--release-notes-tmpl string Load custom release notes from a templated markdown file (overrides --release-notes)
--clean Removes the dist folder
--skip-after Skips global after hooks
--skip-announce Skips announcing releases (implies --skip-validate)
--skip-before Skips global before hooks

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

@ -2365,10 +2365,24 @@
"type": "string"
},
"disable": {
"type": "boolean"
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"skip_upload": {
"type": "boolean"
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"prerelease": {
"type": "string"