Documentation
¶
Index ¶
Constants ¶
View Source
const CredentialsHelp = `` /* 240-byte string literal not displayed */
Variables ¶
View Source
var DefaultSpecs = []*Spec{
{Arch: "amd64", OS: "darwin"},
{Arch: "arm64", OS: "darwin"},
{Arch: "amd64", OS: "linux"},
{Arch: "arm64", OS: "linux"},
}
Functions ¶
Types ¶
type BuildReleaseResult ¶
func BuildRelease ¶
type Credentials ¶
type Credentials struct {
Token string `json:"token"`
Owner string `json:"owner"`
Repo string `json:"repo"`
}
func LoadCredentials ¶
func LoadCredentials(path string) (*Credentials, error)
type Option ¶ added in v0.0.129
type Option func(*buildConfig)
Option configures BuildRelease.
func WithPackagePath ¶ added in v0.0.129
WithPackagePath sets the package path passed to go build (e.g. "./cmd/doctest"). Empty path is ignored (keeps the default "./").
Click to show internal directories.
Click to hide internal directories.