release

package
v0.0.123 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 5 Imported by: 0

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

func GetTag

func GetTag() (string, error)

Types

type BuildReleaseResult

type BuildReleaseResult struct {
	Tag   string
	Files []string
}

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)

type Spec

type Spec struct {
	Arch string
	OS   string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL