Skip to content

Commit

Permalink
docs: remove mentions to --skip-something flags
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed May 10, 2024
1 parent b7b4883 commit 0481e63
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions internal/pipe/pipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ import (
// It usually means that publishing and maybe some validations were skipped.
var ErrSnapshotEnabled = Skip("disabled during snapshot mode")

// ErrSkipPublishEnabled happens if --skip-publish is set.
// ErrSkipPublishEnabled happens if --skip=publish is set.
// It means that the part of a Piper that publishes its artifacts was not run.
var ErrSkipPublishEnabled = Skip("publishing is disabled")

// ErrSkipAnnounceEnabled happens if --skip-announce is set.
// ErrSkipAnnounceEnabled happens if --skip=announce is set.
var ErrSkipAnnounceEnabled = Skip("announcing is disabled")

// ErrSkipSignEnabled happens if --skip-sign is set.
// ErrSkipSignEnabled happens if --skip=sign is set.
// It means that the part of a Piper that signs some things was not run.
var ErrSkipSignEnabled = Skip("artifact signing is disabled")

// ErrSkipValidateEnabled happens if --skip-validate is set.
// ErrSkipValidateEnabled happens if --skip=validate is set.
// It means that the part of a Piper that validates some things was not run.
var ErrSkipValidateEnabled = Skip("validation is disabled")

Expand Down
2 changes: 1 addition & 1 deletion www/docs/customization/announce/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GoReleaser can also announce new releases on social networks, chat rooms and via
email!

It runs at the very end of the pipeline and can be skipped with the
`--skip-announce` flag of the [`release`](/cmd/goreleaser_release/) command, or
`--skip=announce` flag of the [`release`](/cmd/goreleaser_release/) command, or
via the skip property:

```yaml
Expand Down
2 changes: 1 addition & 1 deletion www/docs/how-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ A GoReleaser run is split into 4 major steps:
registries, blob storages...
- **announcing**: announces your release to the configured channels

Some steps might be skipped with `--skip-foo`-like flags (check the
Some steps might be skipped with `--skip` flags (check the
[command line docs](./cmd/goreleaser.md) for details).

If any of the previous steps fails, the next steps will not run.

0 comments on commit 0481e63

Please sign in to comment.