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:
parent
d338caefc8
commit
b8d24c79c6
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user