github.com/goreleaser/goreleaser@v1.25.1/www/docs/cmd/goreleaser_release.md (about) 1 # goreleaser release 2 3 Releases the current project 4 5 ``` 6 goreleaser release [flags] 7 ``` 8 9 ## Options 10 11 ``` 12 --auto-snapshot Automatically sets --snapshot if the repository is dirty 13 --clean Removes the 'dist' directory 14 -f, --config string Load configuration from file 15 --fail-fast Whether to abort the release publishing on the first error 16 -h, --help help for release 17 --id stringArray Builds only the specified build ids (implies --skip-publish) (Pro only) 18 -k, --key string GoReleaser Pro license key [$GORELEASER_KEY] (Pro only) 19 --nightly Generate a nightly build, publishing artifacts that support it (implies --skip-announce and --skip-validate; overrides --nightly) (Pro only) 20 -p, --parallelism int Amount tasks to run concurrently (default: number of CPUs) 21 --prepare Will run the release in such way that it can be published and announced later with goreleaser publish and goreleaser announce (implies --skip-publish, --skip-announce and --skip-after) (Pro only) 22 --release-footer string Load custom release notes footer from a markdown file 23 --release-footer-tmpl string Load custom release notes footer from a templated markdown file (overrides --release-footer) 24 --release-header string Load custom release notes header from a markdown file 25 --release-header-tmpl string Load custom release notes header from a templated markdown file (overrides --release-header) 26 --release-notes string Load custom release notes from a markdown file (will skip GoReleaser changelog generation) 27 --release-notes-tmpl string Load custom release notes from a templated markdown file (overrides --release-notes) 28 --single-target Builds only for current GOOS and GOARCH, regardless of what's set in the configuration file (implies --skip-publish) (Pro only) 29 --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) 30 --snapshot Generate an unversioned snapshot release, skipping all validations and without publishing any artifacts (implies --skip=announce,publish,validate) 31 --split Split the build so it can be merged and published later (implies --prepare) (Pro only) 32 --timeout duration Timeout to the entire release process (default 30m0s) 33 ``` 34 35 ## Options inherited from parent commands 36 37 ``` 38 --debug Enable verbose mode (deprecated) 39 --verbose Enable verbose mode 40 ``` 41 42 ## See also 43 44 * [goreleaser](/cmd/goreleaser/) - Deliver Go binaries as fast and easily as possible 45