1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-15 01:34:21 +02:00

fixed lint errors

This commit is contained in:
Carlos Alexandro Becker
2017-09-26 18:50:00 -03:00
parent be23daffaf
commit b72e2bc27e
3 changed files with 10 additions and 10 deletions

View File

@ -85,6 +85,10 @@ func process(ctx *context.Context, folder string, docker config.Docker, binary c
}
}
return publish(ctx, docker, image, latest)
}
func publish(ctx *context.Context, docker config.Docker, image, latest string) error {
// TODO: improve this so it can log it to stdout
if !ctx.Publish {
return pipeline.Skip("--skip-publish is set")