1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00

chore: fmt

This commit is contained in:
Carlos A Becker 2021-11-06 23:10:44 -03:00
parent 46cb26de69
commit 1b4080b7da
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 11 additions and 10 deletions

View File

@ -23,12 +23,14 @@ import (
const brewConfigExtra = "BrewConfig"
// ErrNoArchivesFound happens when 0 archives are found.
var ErrNoArchivesFound = errors.New("no linux/macos archives found")
var (
// ErrNoArchivesFound happens when 0 archives are found.
ErrNoArchivesFound = errors.New("no linux/macos archives found")
// ErrMultipleArchivesSameOS happens when the config yields multiple archives
// for linux or windows.
var ErrMultipleArchivesSameOS = errors.New("one tap can handle only archive of an OS/Arch combination. Consider using ids in the brew section")
// ErrMultipleArchivesSameOS happens when the config yields multiple archives
// for linux or windows.
ErrMultipleArchivesSameOS = errors.New("one tap can handle only archive of an OS/Arch combination. Consider using ids in the brew section")
)
// Pipe for brew deployment.
type Pipe struct{}

View File

@ -20,14 +20,13 @@ import (
"github.com/goreleaser/goreleaser/pkg/context"
)
const goFishConfigExtra = "GoFishConfig"
const foodFolder = "Food"
const (
goFishConfigExtra = "GoFishConfig"
foodFolder = "Food"
)
var ErrNoArchivesFound = errors.New("no linux/macos/windows archives found")
var ErrMultipleArchivesSameOS = errors.New("one rig can handle only archive of an OS/Arch combination. Consider using ids in the gofish section")
// Pipe for goFish deployment.
type Pipe struct{}