module

package
v0.0.0-...-cba1271 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSkipPackage = fmt.Errorf("skip package")

Functions

This section is empty.

Types

type Package

type Package struct {
	ModFilePath  string // full path to go mod file
	LocalPath    string // relative path to the monorepo root directory
	TagPrefix    string // tag prefix for the package
	Import       string // import path
	NeedsRelease bool
	LastRelease  string
	NextRelease  string
	Changelog    *changelog.Changelog
	// contains filtered or unexported fields
}

func Load

func Load(sess *happy.Session, wd, goModPath, minGoVer string) (pkg *Package, err error)

func (*Package) Prepare

func (p *Package) Prepare(sess *happy.Session, wd string) error

func (*Package) Release

func (p *Package) Release(sess *happy.Session, wd string) error

Jump to

Keyboard shortcuts

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