source

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 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

View Source
var ErrDirty = errors.New("git is currently in a dirty state, commit or stash your changes to continue")

ErrDirty happens when the repo has uncommitted/unstashed changes

View Source
var ErrWrongRef = errors.New("current tag ref is different from HEAD ref, checkout the latest tag to continue")

Functions

This section is empty.

Types

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