source

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package source provides pipes to take care of validating the current git repo state. For the releasing process we need the files of the tag we are releasing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrDirty

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

ErrDirty happens when the repo has uncommitted/unstashed changes

func (ErrDirty) Error added in v0.7.2

func (e ErrDirty) Error() string

type ErrWrongRef

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

func (e ErrWrongRef) Error() string

type Pipe

type Pipe struct{}

Pipe to make sure we are in the latest Git tag as source.

func (Pipe) Description

func (p Pipe) Description() string

Description of the pipe

func (Pipe) Run

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

Run errors we the repo is dirty or if the current ref is different from the tag ref

Jump to

Keyboard shortcuts

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