pkg

package
v0.1.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const GitCommitMessagePreviousVersion = "Bumps from"

Variables

This section is empty.

Functions

func BashPipe

func BashPipe(in string) (result []string)

func Check

func Check(err error, args ...interface{})

func CommandGetOutput

func CommandGetOutput(name string, args ...string) string

func Confirm

func Confirm(message string, args ...interface{})

func Fatalf

func Fatalf(message string, args ...interface{})

func GitClone

func GitClone(repo string) string

func GitGetCurrentTag

func GitGetCurrentTag() string

func GitHubSHA added in v0.1.15

func GitHubSHA() string

func GitHubTag added in v0.1.15

func GitHubTag() string

func GitListTags

func GitListTags() string

func GitTagRelease

func GitTagRelease(dir string, annotate, dry bool, nextVersion semver.Version, previousVersion *semver.Version)

func MustGetEnv

func MustGetEnv(key string) (v string)

func NewCommand

func NewCommand(name string, args ...string) *exec.Cmd

func NewCommandIn

func NewCommandIn(dir, name string, args ...string) *exec.Cmd

func RenderOASPatch added in v0.0.50

func RenderOASPatch(cmd *cobra.Command, uri string) ([]byte, error)

Types

type Config added in v0.0.72

type Config struct {
	Project           oryProject     `yaml:"project"`
	PreReleaseHooks   []string       `yaml:"pre_release_hooks"`
	IgnoreTagPatterns []string       `yaml:"ignore_tags"`
	IgnoreTags        *regexp.Regexp `yaml:"-"`
}

func ReadConfig added in v0.0.72

func ReadConfig() (*Config, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL