context

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	ctx.Context
	Config    config.Project
	Token     string
	Git       GitInfo
	Archives  map[string]string
	Artifacts []string
	Version   string
}

Context carries along some data through the pipes

func New

func New(config config.Project) *Context

New context

func (*Context) AddArtifact added in v0.9.1

func (ctx *Context) AddArtifact(file string)

AddArtifact adds a file to upload list

type GitInfo

type GitInfo struct {
	CurrentTag  string
	PreviousTag string
	Diff        string
	Commit      string
}

GitInfo includes tags and diffs used in some point

Jump to

Keyboard shortcuts

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