1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00

docs: update

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2022-06-25 16:42:11 -03:00
parent e8f3f012db
commit ad2986a2e1
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# goreleaser announce
Announces a previously prepared release
## Synopsis
If you have a previously prepared release with `goreleaser release --prepare` and published it with `goreleaser publish`, you can use this command to announce it.
The idea is to prepare a release without publishing anything, assert the artifacts are correct (either automatically or not), publish it, and then, finally, announce it to your users.
Environment variables will be re-evaluated here, so make sure they are available to the announce command as well.
!!! success "GoReleaser Pro"
This subcommand is [GoReleaser Pro feature](https://goreleaser.com/pro/).
```
goreleaser announce [flags]
```
## Options
```
-d, --dist string dist folder to continue (default "./dist")
-h, --help help for announce
-k, --key string GoReleaser Pro license key [$GORELEASER_KEY]
-p, --parallelism int Amount tasks to run concurrently (default: number of CPUs)
--skip-after Skips global after hooks
--timeout duration Timeout to the entire announce 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

View File

@ -0,0 +1,41 @@
# goreleaser publish
Publishes a previously prepared release
## Synopsis
If you have a previously prepared release (run with `goreleaser release --prepare`), you can use this command to publish it.
The idea is to prepare a release without publishing anything, assert the artifacts are correct (either automatically or not), and then, finally, publish the release and its artifacts.
Environment variables will be re-evaluated here, so make sure they are available to the publish command as well.
!!! success "GoReleaser Pro"
This subcommand is [GoReleaser Pro feature](https://goreleaser.com/pro/).
```
goreleaser publish [flags]
```
## Options
```
-d, --dist string dist folder to continue (default "./dist")
-h, --help help for publish
-k, --key string GoReleaser Pro license key [$GORELEASER_KEY]
-p, --parallelism int Amount tasks to run concurrently (default: number of CPUs)
--skip-after Skips global after hooks
--timeout duration Timeout to the entire publish 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