git

package
v0.66.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2018 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package git implements the Pipe interface getting and validating the current git repository state

Index

Constants

This section is empty.

Variables

View Source
var ErrNoTag = fmt.Errorf("git doesn't contain any tags. Either add a tag or use --snapshot")

ErrNoTag happens if the underlying git repository doesn't contain any tags but no snapshot-release was requested.

View Source
var ErrNotRepository = fmt.Errorf("current folder is not a git repository")

ErrNotRepository happens if you try to run goreleaser against a folder which is not a git repository.

Functions

This section is empty.

Types

type ErrDirty added in v0.9.5

type ErrDirty struct {
	// contains filtered or unexported fields
}

ErrDirty happens when the repo has uncommitted/unstashed changes

func (ErrDirty) Error added in v0.9.5

func (e ErrDirty) Error() string

type ErrInvalidVersionFormat added in v0.7.0

type ErrInvalidVersionFormat struct {
	// contains filtered or unexported fields
}

ErrInvalidVersionFormat is return when the version isnt in a valid format

func (ErrInvalidVersionFormat) Error added in v0.7.0

func (e ErrInvalidVersionFormat) Error() string

type ErrWrongRef added in v0.9.5

type ErrWrongRef struct {
	// contains filtered or unexported fields
}

ErrWrongRef happens when the HEAD reference is different from the tag being built

func (ErrWrongRef) Error added in v0.9.5

func (e ErrWrongRef) Error() string

type Pipe

type Pipe struct{}

Pipe for brew deployment

func (Pipe) Run

func (Pipe) Run(ctx *context.Context) error

Run the pipe

func (Pipe) String added in v0.37.1

func (Pipe) String() string

Jump to

Keyboard shortcuts

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