Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { CurrentVersion string `yaml:"current_version"` NewVersion string `yaml:"new_version"` CommitVersion bool `yaml:"commit"` CommitMessage string `yaml:"commit_message"` TagVersion bool `yaml:"tag"` TagName string `yaml:"tag_name"` VerboseMode bool `yaml:"verbose"` DryRunMode bool `yaml:"dry_run"` AllowDirty bool `yaml:"allow_dirty"` List bool `yaml:"list"` SerializeTemplate []string `yaml:"serialize,flow"` ParseTemplate *regexp.Regexp `yaml:"parse"` ReleaseParts map[string]ReleasePart `yaml:"parts,flow"` ReleaseFiles map[string]ReleaseFile `yaml:"files,flow"` }
func NewFromEnv ¶
func NewFromEnv() (*Configuration, error)
func NewFromFile ¶
func NewFromFile(file *os.File) (*Configuration, error)
func (*Configuration) MergeWith ¶
func (c *Configuration) MergeWith(newConfig Configuration) error
func (Configuration) SaveToFile ¶
func (c Configuration) SaveToFile(file *os.File) error
type ReleaseFile ¶
type ReleasePart ¶
Click to show internal directories.
Click to hide internal directories.