2021-04-22 10:45:36 -03:00
# goreleaser release
Releases the current project
```
goreleaser release [flags]
```
## Options
```
2022-12-29 14:21:04 -03:00
--auto-snapshot Automatically sets --snapshot if the repository is dirty
2023-01-25 14:17:46 -03:00
--clean Removes the dist folder
2021-05-21 21:07:47 -03:00
-f, --config string Load configuration from file
-h, --help help for release
2023-06-13 14:54:44 +00:00
-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) (Pro only)
2021-05-21 21:07:47 -03:00
-p, --parallelism int Amount tasks to run concurrently (default: number of CPUs)
2023-06-13 14:54:44 +00:00
--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)
2021-05-21 21:07:47 -03:00
--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)
2022-01-30 11:31:10 -03:00
--release-notes string Load custom release notes from a markdown file (will skip GoReleaser changelog generation)
2021-05-21 21:07:47 -03:00
--release-notes-tmpl string Load custom release notes from a templated markdown file (overrides --release-notes)
2023-06-13 14:54:44 +00:00
--skip-after Skips global after hooks (Pro only)
2021-05-25 00:45:59 -03:00
--skip-announce Skips announcing releases (implies --skip-validate)
2022-06-23 23:55:08 -03:00
--skip-before Skips global before hooks
--skip-docker Skips Docker Images/Manifests builds
2023-06-13 14:54:44 +00:00
--skip-fury Skips Fury publishing (Pro only)
2023-01-16 22:45:17 -03:00
--skip-ko Skips Ko builds
2022-06-23 23:55:08 -03:00
--skip-publish Skips publishing artifacts (implies --skip-announce)
2021-12-15 15:58:28 -03:00
--skip-sbom Skips cataloging artifacts
2021-09-24 20:18:52 -03:00
--skip-sign Skips signing artifacts
--skip-validate Skips git checks
--snapshot Generate an unversioned snapshot release, skipping all validations and without publishing any artifacts (implies --skip-publish, --skip-announce and --skip-validate, overrides --nightly)
2023-06-13 14:54:44 +00:00
--split Split the build so it can be merged and published later (implies --prepare) (Pro only)
2021-05-21 21:07:47 -03:00
--timeout duration Timeout to the entire release process (default 30m0s)
2021-04-22 10:45:36 -03:00
```
## Options inherited from parent commands
```
2023-05-28 02:20:48 +00:00
--debug Enable verbose mode (deprecated)
--verbose Enable verbose mode
2021-04-22 10:45:36 -03:00
```
## See also
2021-06-27 15:40:29 +00:00
* [goreleaser ](/cmd/goreleaser/ ) - Deliver Go binaries as fast and easily as possible
2021-04-22 10:45:36 -03:00