Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formula ¶
type Formula interface { Info(string) Warn(string) Error(string) Cover(context.Context) error Compile(context.Context) error CrossCompile(context.Context) ([]string, error) Release(ctx context.Context, level ReleaseLevel, comment string) error }
Formula is the interface for all available formulas
type ReleaseLevel ¶
type ReleaseLevel int
ReleaseLevel specifies the level of a release (patch, minor, or major)
const ( // PatchRelease releases a the patch component of a semantic version PatchRelease ReleaseLevel = iota // MinorRelease releases a the minor component of a semantic version MinorRelease // MajorRelease releases a the major component of a semantic version MajorRelease )
Click to show internal directories.
Click to hide internal directories.