mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: improve error msg
closes #1103 Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
7cb8d622f5
commit
c2918e4eec
1
go.mod
1
go.mod
@ -9,6 +9,7 @@ require (
|
||||
github.com/caarlos0/ctrlc v1.0.0
|
||||
github.com/campoy/unique v0.0.0-20180121183637-88950e537e7e
|
||||
github.com/fatih/color v1.7.0
|
||||
github.com/gogo/protobuf v1.2.0 // indirect
|
||||
github.com/google/go-github/v25 v25.0.1
|
||||
github.com/goreleaser/nfpm v0.12.0
|
||||
github.com/imdario/mergo v0.3.6
|
||||
|
@ -22,12 +22,12 @@ import (
|
||||
)
|
||||
|
||||
// ErrNoArchivesFound happens when 0 archives are found
|
||||
var ErrNoArchivesFound = errors.New("brew tap: no archives found matching criteria")
|
||||
var ErrNoArchivesFound = errors.New("no linux/macos archives found")
|
||||
|
||||
// ErrMultipleArchivesSameOS happens when the config yields multiple archives
|
||||
// for linux or windows.
|
||||
// TODO: improve this confusing error message
|
||||
var ErrMultipleArchivesSameOS = errors.New("brew tap: one tap can handle only 1 linux and 1 macos archive")
|
||||
var ErrMultipleArchivesSameOS = errors.New("one tap can handle only 1 linux and 1 macos archive")
|
||||
|
||||
// ErrTokenTypeNotImplementedForBrew indicates that a new token type was not implemented for this pipe
|
||||
var ErrTokenTypeNotImplementedForBrew = errors.New("token type not implemented for brew pipe")
|
||||
|
Loading…
x
Reference in New Issue
Block a user