Documentation
¶
Index ¶
- Variables
- func GuardDraftAssets(root, assets, version string) error
- func GuardManifest(root, dist string) error
- func GuardTapPostcheck(root, tap, names, commits, version string) error
- func GuardTapPreflight(root, tap string) error
- func RunFromEnv(root string) error
- func ValidateGoReleaserConfig(cfg GoReleaserConfig) error
- func ValidateHomebrewCaskConfig(cfg GoReleaserConfig) error
- type GoReleaserArchive
- type GoReleaserBuild
- type GoReleaserCask
- type GoReleaserChecksum
- type GoReleaserCommitAuthor
- type GoReleaserConfig
- type GoReleaserRelease
- type GoReleaserRepository
- type Mode
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrArtifactModeNotRequested = errors.New("releaseguard artifact mode not requested")
Functions ¶
func GuardDraftAssets ¶
func GuardManifest ¶
func GuardTapPostcheck ¶
func GuardTapPreflight ¶
func RunFromEnv ¶
func ValidateGoReleaserConfig ¶
func ValidateGoReleaserConfig(cfg GoReleaserConfig) error
func ValidateHomebrewCaskConfig ¶
func ValidateHomebrewCaskConfig(cfg GoReleaserConfig) error
Types ¶
type GoReleaserArchive ¶
type GoReleaserBuild ¶
type GoReleaserCask ¶
type GoReleaserCask struct {
Name string `yaml:"name"`
IDs []string `yaml:"ids"`
Binaries []string `yaml:"binaries"`
Repository GoReleaserRepository `yaml:"repository"`
SkipUpload bool `yaml:"skip_upload"`
CommitAuthor GoReleaserCommitAuthor `yaml:"commit_author"`
}
type GoReleaserChecksum ¶
type GoReleaserChecksum struct {
NameTemplate string `yaml:"name_template"`
}
type GoReleaserCommitAuthor ¶
type GoReleaserConfig ¶
type GoReleaserConfig struct {
RawTopLevel map[string]any `yaml:"-"`
Version int `yaml:"version"`
Builds []GoReleaserBuild `yaml:"builds"`
Archives []GoReleaserArchive `yaml:"archives"`
Checksum GoReleaserChecksum `yaml:"checksum"`
Changelog any `yaml:"changelog"`
HomebrewCask []GoReleaserCask `yaml:"homebrew_casks"`
Release GoReleaserRelease `yaml:"release"`
}
func LoadGoReleaserConfig ¶
func LoadGoReleaserConfig(path string) (GoReleaserConfig, error)
type GoReleaserRelease ¶
type GoReleaserRelease struct {
Draft bool `yaml:"draft"`
}
type GoReleaserRepository ¶
Click to show internal directories.
Click to hide internal directories.