diff --git a/www/docs/cmd/goreleaser_build.md b/www/docs/cmd/goreleaser_build.md index 6986f9094..91a172ca5 100644 --- a/www/docs/cmd/goreleaser_build.md +++ b/www/docs/cmd/goreleaser_build.md @@ -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 diff --git a/www/docs/cmd/goreleaser_release.md b/www/docs/cmd/goreleaser_release.md index bc195dfd7..046ff2993 100644 --- a/www/docs/cmd/goreleaser_release.md +++ b/www/docs/cmd/goreleaser_release.md @@ -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 diff --git a/www/docs/static/schema-pro.json b/www/docs/static/schema-pro.json index 1d1a96948..3bfe86d65 100644 --- a/www/docs/static/schema-pro.json +++ b/www/docs/static/schema-pro.json @@ -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"