Documentation
¶
Overview ¶
Package release says what a project's releases are, for the roles that hold them (ADR-0017): the branches a release tool opens its pull request from, and the last release, one lookup for every reader.
Index ¶
Constants ¶
View Source
const Tags = "v*"
Tags is the pattern of a release's tag when the project names none.
Variables ¶
View Source
var Branches = []string{"release-please--*", "releaser-pleaser--*", "release-plz-*", "changeset-release/*"}
Branches are the head branches of the release pull requests the known tools open: release-please, releaser-pleaser, release-plz, changesets.
View Source
var ErrShallow = errors.New("this clone is shallow: the last release may be in the history it lacks; fetch it whole (actions/checkout's `fetch-depth: 0`, GitLab's `GIT_DEPTH: 0`)")
ErrShallow is a clone missing history: the last release may be in what was not fetched, and starting from no tag would take every doc ever suspect for the release's.
Functions ¶
Types ¶
type Settings ¶
type Settings struct {
Branches []string `yaml:"branches"` // replace the tools' when set
Tags string `yaml:"tags"`
}
Settings are the project's `release` key in .workline/config.yaml.
Click to show internal directories.
Click to hide internal directories.