Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

Commit

Permalink
use complete version
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanl committed Mar 23, 2016
1 parent a59617f commit 79719b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion commands/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func Version() *Command {
doit.DoitVersion.Label = doit.Label
}

fmt.Println(doit.DoitVersion)
fmt.Println(doit.DoitVersion.Complete())
},
},
}
Expand Down
4 changes: 0 additions & 4 deletions doit.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ func (v Version) String() string {
buffer.WriteString("-" + v.Label)
}

if v.Build != "" {
buffer.WriteString(" " + v.Build)
}

return buffer.String()
}

Expand Down

0 comments on commit 79719b6

Please sign in to comment.