Files
lazygit/pkg/updates/build_source.go

16 lines
489 B
Go

package updates
// The build sources that lazygit knows about. The build source is set with
// `-X main.buildSource=...` when building lazygit.
const (
// Set by .goreleaser.yml for our release archives
BuildSourceRelease = "binaryRelease"
// Set by the Homebrew formula (to the name of the tap's owner)
BuildSourceHomebrew = "Homebrew"
// Set by mergeBuildInfo for builds made with
// `go install github.com/jesseduffield/lazygit@<version>`
BuildSourceGoInstall = "goInstall"
)