1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00
goreleaser/www/docs/cmd/goreleaser_publish.md
Carlos Alexandro Becker 5767a3bd1e
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-17 03:00:02 +00:00

1.4 KiB

goreleaser publish

Publishes a previously prepared release

Synopsis

If you have a previously prepared release (run with goreleaser release --prepare or goreleaser release --split), 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 a GoReleaser Pro feature.

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]
      --merge              Merges multiple parts of a --split release
  -p, --parallelism int    Amount tasks to run concurrently (default: number of CPUs)
      --skip strings       Skip the given options (valid options are: after)
      --timeout duration   Timeout to the entire publish process (default 30m0s)

Options inherited from parent commands

      --debug     Enable verbose mode (deprecated)
      --verbose   Enable verbose mode

See also

  • goreleaser - Deliver Go binaries as fast and easily as possible