1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-05 13:15:26 +02:00

Log used tag

This commit is contained in:
Jorin Vogel 2017-01-19 10:30:15 +01:00
parent d338caefc8
commit b8d24c79c6

View File

@ -44,7 +44,7 @@ func (p *Pipe) Run(ctx *context.Context) error {
wrongBranch := err != nil
if wrongBranch {
log.Println("Checking out tag")
log.Println("Checking out tag", ctx.Git.CurrentTag)
if err = run("git", "checkout", ctx.Git.CurrentTag); err != nil {
return fmt.Errorf("failed changing branch: %v", err)
}