Documentation ¶
Index ¶
Constants ¶
View Source
const ApplyCommandDescription = "takes YAML file, generated with collect command and edited with new releases info and performs new releases if it's required"
View Source
const (
CollectCommandDescription = "pulls info about all latest releases of drivers and all commits since those releases and dumps this info to a YAML file"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyCommand ¶
type ApplyCommand struct { cmd.Command DryRun bool `long:"dry-run" description:"performs extra debug info instead of the real action"` File string `long:"file" short:"f" env:"FILE" default:"drivers-releases.yml" description:"path to file with configuration"` ReleaseBranch string `long:"release-branch" env:"RELEASE_BRANCH" default:"master" description:"branch to release"` }
func (*ApplyCommand) Execute ¶
func (c *ApplyCommand) Execute(args []string) error
type CollectCommand ¶
type CollectCommand struct { cmd.Command DryRun bool `long:"dry-run" description:"performs extra debug info instead of the real action"` File string `long:"file" short:"f" env:"FILE" default:"drivers-releases.yml" description:"path to file with configuration"` }
func (*CollectCommand) Execute ¶
func (c *CollectCommand) Execute(args []string) error
type DriversReleases ¶
DriversReleases represents map with - key: language - value: Release object
type Release ¶
type Release struct { // Tag corresponds to release tag in format v0.0.1 Tag string `yaml:"tag"` // Description represents concatenated descriptions of commits Description string `yaml:"description"` }
Release represents an object with the latest tag + concatenated descriptions of commits, performed after release
Click to show internal directories.
Click to hide internal directories.