Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteState ¶
DeleteState removes the pre-release state file. Returns nil if the file does not exist.
func WriteState ¶
WriteState writes the pre-release state to the given path with file locking. Uses atomic write (write to temp file, then rename).
Types ¶
type PackageState ¶
type PackageState struct {
Stage string `yaml:"stage"`
Counter int `yaml:"counter"`
TargetVersion string `yaml:"targetVersion"`
}
PackageState tracks the pre-release state for a single package
type State ¶
type State struct {
Packages map[string]PackageState `yaml:"packages"`
}
State represents the pre-release state file (.shipyard/prerelease.yml)
Click to show internal directories.
Click to hide internal directories.