Documentation ¶
Overview ¶
Package ci provides function to generate output for CI/CD tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateGitHubOutput ¶
func GenerateGitHubOutput(semver *semver.Version, branch string, options ...OptionFunc) (err error)
Types ¶
type GitHubOutput ¶
type GitHubOutput struct { Semver *semver.Version Branch string TagPrefix string ProjectName string NewRelease bool }
func (GitHubOutput) String ¶
func (g GitHubOutput) String() string
type OptionFunc ¶
type OptionFunc func(*GitHubOutput)
func WithNewRelease ¶
func WithNewRelease(b bool) OptionFunc
func WithProject ¶
func WithProject(project string) OptionFunc
func WithTagPrefix ¶
func WithTagPrefix(tagPrefix string) OptionFunc
Click to show internal directories.
Click to hide internal directories.