context

package
v0.0.0-...-c608f4e Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 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 Archive

type Archive struct {
	Path string
	Name string
}

type Context

type Context struct {
	ctx.Context
	Config       config.Project
	Env          map[string]string
	Git          GitInfo
	Date         time.Time
	Archive      Archive
	SkipPublish  bool
	OutputFormat string
}

func NewWithTimeout

func NewWithTimeout(cfg config.Project, timeout time.Duration) (*Context, ctx.CancelFunc)

type GitInfo

type GitInfo struct {
	Branch      string
	CurrentTag  string
	Commit      GitInfoCommit
	ShortCommit string
	FullCommit  string
}

type GitInfoCommit

type GitInfoCommit struct {
	Message string
	Author  string
}

Jump to

Keyboard shortcuts

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