Documentation
¶
Overview ¶
Package cmd defines commands of the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Changelog ¶ added in v0.2.0
type Changelog struct {
From string `long:"from" env:"FROM" description:"sha to start release notes from" required:"true"`
To string `long:"to" env:"TO" description:"sha to end release notes to" required:"true"`
Timeout time.Duration `long:"timeout" env:"TIMEOUT" description:"timeout for assembling the release" default:"5m"`
flg.ServiceGroup
}
Changelog builds the release-notes from the specified template ands sends it to the desired destinations (telegram, stdout (for CI), etc.).
type Preview ¶ added in v0.6.0
type Preview struct {
DataFile string `long:"data-file" env:"DATA_FILE" description:"path to the file with release data" required:"true"`
Extras map[string]string `` /* 152-byte string literal not displayed */
ConfLocation string `long:"conf_location" env:"CONF_LOCATION" description:"location to the config file" required:"true"`
}
Preview command prints the release notes to stdout.
type ReleaseNotes ¶
type ReleaseNotes struct {
Tag string `long:"tag" env:"TAG" description:"tag to be released" required:"true"`
Timeout time.Duration `long:"timeout" env:"TIMEOUT" description:"timeout for assembling the release" default:"5m"`
flg.ServiceGroup
}
ReleaseNotes builds the release-notes from the specified template ands sends it to the desired destinations (telegram, stdout (for CI), etc.).
func (ReleaseNotes) Execute ¶
func (r ReleaseNotes) Execute(_ []string) error
Execute the release-notes command.
Click to show internal directories.
Click to hide internal directories.