Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExitSuccess = 0 ExitGeneralError = 1 ExitValidation = 2 ExitConfig = 3 ExitRepository = 4 ExitRelease = 5 ExitAuthentication = 6 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompareOutput ¶
type ConfigResult ¶
type ConfigResult struct {
Development bool `json:"development"`
PatchTypes []string `json:"patch_types"`
MinorTypes []string `json:"minor_types"`
MajorTypes []string `json:"major_types"`
Prefix string `json:"prefix"`
}
ConfigResult is the result of the config tool.
type CurrentOutput ¶
type CurrentVersionArgs ¶
type CurrentVersionArgs struct{}
CurrentVersionArgs are the arguments for the current_version tool.
type CurrentVersionResult ¶
type CurrentVersionResult struct {
Version string `json:"version"`
}
CurrentVersionResult is the result of the current_version tool.
type NextVersionArgs ¶
type NextVersionArgs struct{}
NextVersionArgs are the arguments for the next_version tool.
type NextVersionResult ¶
type NextVersionResult struct {
Current string `json:"current"`
Next string `json:"next"`
BumpType string `json:"bump_type"`
}
NextVersionResult is the result of the next_version tool.
type ReleaseOutput ¶
Click to show internal directories.
Click to hide internal directories.