Documentation ¶
Overview ¶
Package env implements the Pipe interface providing validation of missing environment variables needed by the release process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingToken = errors.New("missing GITHUB_TOKEN, GITLAB_TOKEN and GITEA_TOKEN")
ErrMissingToken indicates an error when GITHUB_TOKEN, GITLAB_TOKEN and GITEA_TOKEN are all missing in the environment.
Functions ¶
This section is empty.
Types ¶
type ErrMultipleTokens ¶ added in v0.112.0
type ErrMultipleTokens struct {
// contains filtered or unexported fields
}
ErrMultipleTokens indicates that multiple tokens are defined. ATM only one of them if allowed. See https://github.com/goreleaser/goreleaser/pull/809
func (ErrMultipleTokens) Error ¶ added in v1.2.0
func (e ErrMultipleTokens) Error() string
Click to show internal directories.
Click to hide internal directories.