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