Documentation ¶
Overview ¶
Package context provides gorelease context which is passed through the pipeline.
The context extends the standard library context and add a few more fields and other things, so pipes can gather data provided by previous pipes without really knowing each other.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶ added in v0.27.0
type Binary struct {
Name, Path string
}
Binary with pretty name and path
type Context ¶
type Context struct { ctx.Context Config config.Project Env map[string]string Token string Git GitInfo Binaries map[string]map[string][]Binary Artifacts []string Dockers []string ReleaseNotes string Version string Validate bool Publish bool Snapshot bool RmDist bool Debug bool Parallelism int }
Context carries along some data through the pipes
func (*Context) AddArtifact ¶ added in v0.9.1
AddArtifact adds a file to upload list
Click to show internal directories.
Click to hide internal directories.