Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidBumpType = errors.New("invalid bump type")
Functions ¶
func NewRootCmd ¶
Types ¶
type Bumper ¶
type Bumper interface {
Bump() error
WithRepository(repository string) error
WithDraft()
WithPrerelease()
WithDiscussionCategory(category string)
WithGenerateNotes()
WithNotes(notes string)
WithNotesFile(filename string)
WithTitle(title string)
WithTarget(target string)
WithAssetFiles(files []string)
WithBumpType(bumpType string) error
WithSuffix(suffix string)
WithYes()
}
type Gh ¶
type Gh interface {
ViewRepository() (sout, eout *bytes.Buffer, err error)
ListRelease(repo string, isCurrent bool) (sout, eout *bytes.Buffer, err error)
ViewRelease(repo string, isCurrent bool) (sout, eout *bytes.Buffer, err error)
CreateRelease(version string, repo string, isCurrent bool, option *ReleaseOption) (sout, eout *bytes.Buffer, err error)
}
Click to show internal directories.
Click to hide internal directories.
