Documentation
¶
Overview ¶
Package release implements Loom's transactional release workflow.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Root is the clean Loom repository to release.
Root string
// Version is the exact stable semantic version tag, including its v prefix.
Version string
// CanonicalRemote overrides the expected origin URL. Tests use a local bare repository.
CanonicalRemote string
// GitHubRepo overrides the repository passed to gh.
GitHubRepo string
// PreflightCommand overrides the make executable used for release-preflight.
PreflightCommand string
// GitHubCommand overrides the gh executable used to inspect the published release.
GitHubCommand string
// PollAttempts controls how many times GitHub release metadata is inspected.
PollAttempts int
// PollInterval controls the delay between GitHub release inspections.
PollInterval time.Duration
}
Config controls a release run.
Click to show internal directories.
Click to hide internal directories.