Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveConfig ¶ added in v0.2.7
type ArchiveConfig struct { Format string NameTemplate string `yaml:"name_template"` Replacements map[string]string }
ArchiveConfig config used for the archive
type BuildConfig ¶
BuildConfig contains the build configuration section
type ProjectConfig ¶
type ProjectConfig struct { Repo string BinaryName string `yaml:"binary_name"` Files []string Brew Homebrew Token string `yaml:"-"` Build BuildConfig Git GitInfo `yaml:"-"` Archive ArchiveConfig }
ProjectConfig includes all project configuration
func (ProjectConfig) ArchiveName ¶ added in v0.2.9
func (config ProjectConfig) ArchiveName(goos, goarch string) (string, error)
ArchiveName following the given template
Click to show internal directories.
Click to hide internal directories.