mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
60e54a1368
* refactor: added middleware for action logs/error handling * refactor: moved custom changelog load from main.go * fix/refactor: CLI improvements * test: do not pollute ./dist
12 lines
202 B
Go
12 lines
202 B
Go
package middleware
|
|
|
|
import "github.com/goreleaser/goreleaser/pkg/context"
|
|
|
|
var ctx = &context.Context{}
|
|
|
|
func mockAction(err error) Action {
|
|
return func(ctx *context.Context) error {
|
|
return err
|
|
}
|
|
}
|