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 ¶
func BuildRelease(binaryName string, preBuild func() error, specs []*Spec) (*BuildReleaseResult, error)
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)
Click to show internal directories.
Click to hide internal directories.