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

51 lines
2.8 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
--clean Removes the dist folder
-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]
--nightly Generate a nightly build, publishing artifacts that support it (implies --skip-announce and --skip-validate)
-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)
--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)
--skip-after Skips global after hooks
2021-05-25 05:45:59 +02:00
--skip-announce Skips announcing releases (implies --skip-validate)
--skip-before Skips global before hooks
--skip-docker Skips Docker Images/Manifests builds
--skip-fury Skips Fury publishing
--skip-ko Skips Ko builds
--skip-publish Skips publishing artifacts (implies --skip-announce)
--skip-sbom Skips cataloging artifacts
--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)
--split Split the build so it can be merged and published later (implies --prepare)
--timeout duration Timeout to the entire release process (default 30m0s)
```
## Options inherited from parent commands
```
--debug Enable debug mode
```
## See also
* [goreleaser](/cmd/goreleaser/) - Deliver Go binaries as fast and easily as possible