1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-21 21:07:19 +02:00
goreleaser/www/docs/cmd/goreleaser_release.md

46 lines
2.9 KiB
Markdown
Raw Normal View History

# goreleaser release
Releases the current project
```
goreleaser release [flags]
```
## Options
```
--auto-snapshot Automatically sets --snapshot if the repository is dirty
2024-04-01 10:26:09 -03:00
--clean Removes the 'dist' directory
-f, --config string Load configuration from 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)
-k, --key string GoReleaser Pro license key [$GORELEASER_KEY] (Pro only)
--nightly Generate a nightly build, publishing artifacts that support it (implies --skip-announce and --skip-validate; overrides --nightly) (Pro only)
-p, --parallelism int Amount tasks to run concurrently (default: number of CPUs)
--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)
--release-footer string Load custom release notes footer from a markdown file
--release-footer-tmpl string Load custom release notes footer from a templated markdown file (overrides --release-footer)
--release-header string Load custom release notes header from a markdown file
--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)
--single-target Builds only for current GOOS and GOARCH, regardless of what's set in the configuration file (implies --skip-publish) (Pro only)
2024-03-03 10:53:17 -03:00
--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)
--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)
```
## Options inherited from parent commands
```
--debug Enable verbose mode (deprecated)
--verbose Enable verbose mode
```
## See also
* [goreleaser](/cmd/goreleaser/) - Deliver Go binaries as fast and easily as possible