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 Context ¶
type Context struct { ctx.Context Config config.Project Env Env Token string TokenType TokenType Git GitInfo Artifacts artifact.Artifacts ReleaseNotes string ReleaseHeader string Version string Snapshot bool SkipPublish bool SkipSign bool SkipValidate bool RmDist bool PreRelease bool Parallelism int Semver Semver }
Context carries along some data through the pipes
func NewWithTimeout ¶
NewWithTimeout new context with the given timeout
type GitInfo ¶
type GitInfo struct { CurrentTag string Commit string ShortCommit string FullCommit string URL string }
GitInfo includes tags and diffs used in some point
Click to show internal directories.
Click to hide internal directories.