Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶
RunCommand executes a shell command It returns the output (trimmed) and an error if the command fails
func RunCommandSilent ¶
RunCommandSilent executes a command (alias for RunCommand now, as RunCommand is also silent on success) kept for backward compatibility if needed, or we can remove it. The previous implementation was identical except for logging.
Types ¶
type ConsoleFilter ¶
type ConsoleFilter struct {
// contains filtered or unexported fields
}
ConsoleFilter buffers console output and filters out passing tests when in quiet mode.
func NewConsoleFilter ¶
func NewConsoleFilter(quiet bool, output func(string)) *ConsoleFilter
func (*ConsoleFilter) Add ¶
func (cf *ConsoleFilter) Add(input string)
func (*ConsoleFilter) Flush ¶
func (cf *ConsoleFilter) Flush()
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
Git handler for Git operations
func (*Git) GenerateNextTag ¶
GenerateNextTag calculates the next semantic version
func (*Git) GetLatestTag ¶
GetLatestTag gets the latest tag
type Go ¶
type Go struct {
// contains filtered or unexported fields
}
Go handler for Go operations
Source Files
¶
Click to show internal directories.
Click to hide internal directories.