Documentation
¶
Index ¶
Constants ¶
View Source
const TaskKindRelease = "release"
View Source
const ToolKind = "github"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReleaseFileSpec ¶
type ReleaseFileSpec struct {
rs.BaseField `yaml:"-"`
// path to the file, can use glob
Path string `yaml:"path"`
// the display label as noted in gh docs
// https://cli.github.com/manual/gh_release_create
Label string `yaml:"label"`
}
type TaskRelease ¶
type TaskRelease struct {
rs.BaseField `yaml:"-"`
TaskName string `yaml:"name"`
tools.BaseTask `yaml:",inline"`
Tag string `yaml:"tag"`
Draft bool `yaml:"draft"`
PreRelease bool `yaml:"pre_release"`
Title string `yaml:"title"`
Notes string `yaml:"notes"`
Files []ReleaseFileSpec `yaml:"files"`
}
func (*TaskRelease) GetExecSpecs ¶
func (c *TaskRelease) GetExecSpecs( rc dukkha.TaskExecContext, options dukkha.TaskMatrixExecOptions, ) ([]dukkha.TaskExecSpec, error)
func (*TaskRelease) Key ¶ added in v0.7.0
func (c *TaskRelease) Key() dukkha.TaskKey
func (*TaskRelease) Kind ¶ added in v0.7.0
func (c *TaskRelease) Kind() dukkha.TaskKind
func (*TaskRelease) Name ¶ added in v0.7.0
func (c *TaskRelease) Name() dukkha.TaskName
Click to show internal directories.
Click to hide internal directories.