1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-03 13:11:48 +02:00

improvements

This commit is contained in:
Carlos Alexandro Becker 2017-06-22 00:38:24 -03:00
parent 0d760731a1
commit c05a8567a1
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@ import (
"fmt"
"io/ioutil"
"os"
"strings"
"github.com/apex/log"
"github.com/goreleaser/goreleaser/config"
@ -74,12 +75,12 @@ func Release(flags Flags) error {
ctx.Publish = false
}
for _, pipe := range pipes {
log.Infof(pipe.Description())
log.Infof("\033[1m%s\033[0m", strings.ToUpper(pipe.Description()))
if err := pipe.Run(ctx); err != nil {
return err
}
}
log.Info("Done!")
log.Infof("\033[1mSUCCESS!\033[0m")
return nil
}

View File

@ -5,7 +5,7 @@ import (
"os"
"github.com/apex/log"
lcli "github.com/apex/log/handlers/text"
lcli "github.com/apex/log/handlers/cli"
"github.com/goreleaser/goreleaser/goreleaserlib"
"github.com/urfave/cli"
)