pkg

package
v0.0.76 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 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 CircleSHA1

func CircleSHA1() string

func CircleTag

func CircleTag() string

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 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