Documentation ¶
Overview ¶
Package pipeline provides the generic piper and defaulter interfaces, which should be implemented add new pipes to goreleaser..
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSkipPublish = Skip("--skip-publish is set")
ErrSkipPublish happens when skip publish is set and a pipe is refusing to proceed because of that.
Functions ¶
Types ¶
type Defaulter ¶ added in v0.37.1
type Defaulter interface { fmt.Stringer // Default sets the configuration defaults Default(ctx *context.Context) error }
Defaulter can be implemented by a Piper to set default values for its configuration.
Directories ¶
Path | Synopsis |
---|---|
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 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 implements Piper and Defaulter and can build Go projects for several platforms, with pre and post hook support.
|
Package build implements Piper and Defaulter and can build Go projects for several platforms, with pre and post hook support. |
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 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 a Docker image
|
Package docker provides a Pipe that creates and pushes a Docker image |
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 fpm implements the Pipe interface providing FPM bindings.
|
Package fpm implements the Pipe interface providing FPM bindings. |
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 release implements Pipe and manages github releases and its artifacts.
|
Package release implements Pipe and manages github releases and its artifacts. |
Package snapcraft implements the Pipe interface providing Snapcraft bindings.
|
Package snapcraft implements the Pipe interface providing Snapcraft bindings. |
Package snapshot provides the snapshoting functionality to goreleaser.
|
Package snapshot provides the snapshoting functionality to goreleaser. |
Click to show internal directories.
Click to hide internal directories.