1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-18 03:56:52 +02:00

docs: update

This commit is contained in:
Carlos Alexandro Becker 2024-04-22 23:51:00 -03:00
parent 12d236ded2
commit 4015fa32bc
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,7 @@ goreleaser build [flags]
-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)
-p, --parallelism int Number of tasks to run concurrently (default: number of CPUs)
--single-target Builds only for current GOOS and GOARCH, regardless of what's set in the configuration file
--skip strings Skip the given options (valid options are: after, before, post-hooks, pre-hooks, validate)
--snapshot Generate an unversioned snapshot build, skipping all validations

View File

@ -12,6 +12,7 @@ goreleaser release [flags]
--auto-snapshot Automatically sets --snapshot if the repository is dirty
--clean Removes the 'dist' directory
-f, --config string Load configuration from file
--draft Whether to set the release to draft. Overrides release.draft in the configuration file
--fail-fast Whether to abort the release publishing on the first error
-h, --help help for release
--id stringArray Builds only the specified build ids (implies --skip-publish) (Pro only)
@ -26,7 +27,7 @@ goreleaser release [flags]
--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)
--single-target Builds only for current GOOS and GOARCH, regardless of what's set in the configuration file (implies --skip-publish) (Pro only)
--skip strings Skip the given options (valid options are: after, announce, aur, before, chocolatey, dmg, docker, dockerhub, fury, homebrew, ko, msi, nfpm, nix, publish, sbom, scoop, sign, snapcraft, validate, winget)
--skip strings Skip the given options (valid options are: after, announce, aur, before, chocolatey, dmg, docker, dockerhub, fury, homebrew, ko, msi, nfpm, nix, notarize, publish, sbom, scoop, sign, snapcraft, validate, winget)
--snapshot Generate an unversioned snapshot release, skipping all validations and without publishing any artifacts (implies --skip=announce,publish,validate)
--split Split the build so it can be merged and published later (implies --prepare) (Pro only)
--timeout duration Timeout to the entire release process (default 30m0s)