Documentation ¶
Overview ¶
Package pipe provides generic erros for pipes to use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrSkipAnnounceEnabled = Skip("announcing is disabled")
ErrSkipAnnounceEnabled happens if --skip-announce is set.
var ErrSkipDisabledPipe = ErrSkip{ // contains filtered or unexported fields }
ErrSkipDisabledPipe happens when a pipe is skipped because it is not configured.
var ErrSkipPublishEnabled = Skip("publishing is disabled")
ErrSkipPublishEnabled happens if --skip-publish is set. It means that the part of a Piper that publishes its artifacts was not run.
var ErrSkipSignEnabled = Skip("artifact signing is disabled")
ErrSkipSignEnabled happens if --skip-sign is set. It means that the part of a Piper that signs some things was not run.
var ErrSkipValidateEnabled = Skip("validation is disabled")
ErrSkipValidateEnabled happens if --skip-validate is set. It means that the part of a Piper that validates some things was not run.
var ErrSnapshotEnabled = Skip("disabled during snapshot mode")
ErrSnapshotEnabled happens when goreleaser is running in snapshot mode. It usually means that publishing and maybe some validations were skipped.
Functions ¶
func IsExpectedSkip ¶ added in v0.163.0
IsExpectedSkip returns true if the given error is ErrSkip and if it is an expected skip.
Types ¶
type ErrSkip ¶
type ErrSkip struct {
// contains filtered or unexported fields
}
ErrSkip occurs when a pipe is skipped for some reason.
type SkipMemento ¶ added in v0.142.0
type SkipMemento struct {
// contains filtered or unexported fields
}
SkipMemento remembers previous skip errors so you can return them all at once later.
func (*SkipMemento) Evaluate ¶ added in v0.142.0
func (e *SkipMemento) Evaluate() error
Evaluate return a skip error with all previous skips, or nil if none happened.
func (*SkipMemento) Remember ¶ added in v0.142.0
func (e *SkipMemento) Remember(err error)
Remember a skip.
Directories ¶
Path | Synopsis |
---|---|
Package announce contains the announcing pipe.
|
Package announce contains the announcing pipe. |
Package archive implements the pipe interface with the intent of archiving and compressing the binaries, readme, and other artifacts.
|
Package archive implements the pipe interface with the intent of archiving and compressing the binaries, readme, and other artifacts. |
Package artifactory provides a Pipe that push to artifactory
|
Package artifactory provides a Pipe that push to artifactory |
Package before provides the pipe implementation that runs before all other pipes.
|
Package before provides the pipe implementation that runs before all other pipes. |
Package blob provides the pipe implementation that uploads files to "blob" providers, such as s3, gcs and azure.
|
Package blob provides the pipe implementation that uploads files to "blob" providers, such as s3, gcs and azure. |
Package brew implements the Pipe, providing formula generation and uploading it to a configured repo.
|
Package brew implements the Pipe, providing formula generation and uploading it to a configured repo. |
Package build provides a pipe that can build binaries for several languages.
|
Package build provides a pipe that can build binaries for several languages. |
Package changelog provides the release changelog to goreleaser.
|
Package changelog provides the release changelog to goreleaser. |
Package checksums provides a Pipe that creates .checksums files for each artifact.
|
Package checksums provides a Pipe that creates .checksums files for each artifact. |
Package custompublishers provides a Pipe that executes a custom publisher
|
Package custompublishers provides a Pipe that executes a custom publisher |
Package defaults implements the Pipe interface providing default values for missing configuration.
|
Package defaults implements the Pipe interface providing default values for missing configuration. |
Package dist provides checks to make sure the dist folder is always empty.
|
Package dist provides checks to make sure the dist folder is always empty. |
Package docker provides a Pipe that creates and pushes Docker images and manifests.
|
Package docker provides a Pipe that creates and pushes Docker images and manifests. |
Package env implements the Pipe interface providing validation of missing environment variables needed by the release process.
|
Package env implements the Pipe interface providing validation of missing environment variables needed by the release process. |
Package git implements the Pipe interface getting and validating the current git repository state
|
Package git implements the Pipe interface getting and validating the current git repository state |
Package gomod provides go modules utilities, such as template variables and the ability to proxy the module from proxy.golang.org.
|
Package gomod provides go modules utilities, such as template variables and the ability to proxy the module from proxy.golang.org. |
Package milestone implements Pipe and manages VCS milestones.
|
Package milestone implements Pipe and manages VCS milestones. |
Package nfpm implements the Pipe interface providing nFPM bindings.
|
Package nfpm implements the Pipe interface providing nFPM bindings. |
Package project sets "high level" defaults related to the project.
|
Package project sets "high level" defaults related to the project. |
Package publish contains the publishing pipe.
|
Package publish contains the publishing pipe. |
Package release implements Pipe and manages github releases and its artifacts.
|
Package release implements Pipe and manages github releases and its artifacts. |
Package scoop provides a Pipe that generates a scoop.sh App Manifest and pushes it to a bucket
|
Package scoop provides a Pipe that generates a scoop.sh App Manifest and pushes it to a bucket |
Package snapcraft implements the Pipe interface providing Snapcraft bindings.
|
Package snapcraft implements the Pipe interface providing Snapcraft bindings. |
Package snapshot provides the snapshotting functionality to goreleaser.
|
Package snapshot provides the snapshotting functionality to goreleaser. |
Package sourcearchive archives the source of the project using git-archive.
|
Package sourcearchive archives the source of the project using git-archive. |
Package upload provides a Pipe that push using HTTP.
|
Package upload provides a Pipe that push using HTTP. |