Documentation
¶
Index ¶
- Constants
- func SoftwareReleaseCycleLife(kind string) []string
- func WorkingOnPreRelease(ctx *Ctx) error
- type BuildCommand
- func (cmd *BuildCommand) Args() string
- func (cmd *BuildCommand) Hidden() bool
- func (cmd *BuildCommand) LongHelp() string
- func (cmd *BuildCommand) Name() string
- func (cmd *BuildCommand) Register(fs *flag.FlagSet)
- func (cmd *BuildCommand) Run(ctx *Ctx, args []string) error
- func (cmd *BuildCommand) ShortHelp() string
- type Ctx
- type InitCommand
- func (cmd *InitCommand) Args() string
- func (cmd *InitCommand) Hidden() bool
- func (cmd *InitCommand) LongHelp() string
- func (cmd *InitCommand) Name() string
- func (cmd *InitCommand) Register(fs *flag.FlagSet)
- func (cmd *InitCommand) Run(ctx *Ctx, args []string) error
- func (cmd *InitCommand) ShortHelp() string
- type MajorCommand
- func (cmd *MajorCommand) Args() string
- func (cmd *MajorCommand) Hidden() bool
- func (cmd *MajorCommand) LongHelp() string
- func (cmd *MajorCommand) Name() string
- func (cmd *MajorCommand) Register(fs *flag.FlagSet)
- func (cmd *MajorCommand) Run(ctx *Ctx, args []string) error
- func (cmd *MajorCommand) ShortHelp() string
- type Manifest
- type MinorCommand
- func (cmd *MinorCommand) Args() string
- func (cmd *MinorCommand) Hidden() bool
- func (cmd *MinorCommand) LongHelp() string
- func (cmd *MinorCommand) Name() string
- func (cmd *MinorCommand) Register(fs *flag.FlagSet)
- func (cmd *MinorCommand) Run(ctx *Ctx, args []string) error
- func (cmd *MinorCommand) ShortHelp() string
- type PatchCommand
- func (cmd *PatchCommand) Args() string
- func (cmd *PatchCommand) Hidden() bool
- func (cmd *PatchCommand) LongHelp() string
- func (cmd *PatchCommand) Name() string
- func (cmd *PatchCommand) Register(fs *flag.FlagSet)
- func (cmd *PatchCommand) Run(ctx *Ctx, args []string) error
- func (cmd *PatchCommand) ShortHelp() string
- type RawBuild
- type RawManifest
- type RawRelease
- type RawVersion
- type ReleaseCommand
- func (cmd *ReleaseCommand) Args() string
- func (cmd *ReleaseCommand) Hidden() bool
- func (cmd *ReleaseCommand) LongHelp() string
- func (cmd *ReleaseCommand) Name() string
- func (cmd *ReleaseCommand) Register(fs *flag.FlagSet)
- func (cmd *ReleaseCommand) Run(ctx *Ctx, args []string) error
- func (cmd *ReleaseCommand) ShortHelp() string
- type StatusCommand
- func (cmd *StatusCommand) Args() string
- func (cmd *StatusCommand) Hidden() bool
- func (cmd *StatusCommand) LongHelp() string
- func (cmd *StatusCommand) Name() string
- func (cmd *StatusCommand) Register(fs *flag.FlagSet)
- func (cmd *StatusCommand) Run(ctx *Ctx, args []string) error
- func (cmd *StatusCommand) ShortHelp() string
Constants ¶
View Source
const ManifestName = "semv"
ManifestName is the manifest file name used by semver.
View Source
const ManifestType = "toml"
ManifestType is the manisfest file name format
Variables ¶
This section is empty.
Functions ¶
func SoftwareReleaseCycleLife ¶
SoftwareReleaseCycleLife ...
Types ¶
type BuildCommand ¶
type BuildCommand struct {
// contains filtered or unexported fields
}
BuildCommand ..
type Ctx ¶
type Ctx struct { WorkingDir string // Where to execute. Manifest *Manifest Out, Err *log.Logger // Required loggers. }
Ctx ...
type Manifest ¶
Manifest holds manifest file data
func (*Manifest) ValidateManifest ¶
ValidateManifest ...
type RawManifest ¶
type RawManifest struct { Version RawVersion `mapstructure:"version"` Release RawRelease `mapstructure:"release"` Build RawBuild `mapstructure:"build"` }
RawManifest ...
type RawVersion ¶
type RawVersion struct { Major int `mapstructure:"major"` Minor int `mapstructure:"minor"` Patch int `mapstructure:"patch"` Label string `mapstructure:"label"` }
RawVersion ...
type ReleaseCommand ¶
type ReleaseCommand struct {
// contains filtered or unexported fields
}
ReleaseCommand ..
func (*ReleaseCommand) Register ¶
func (cmd *ReleaseCommand) Register(fs *flag.FlagSet)
Register ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.