mirror of
https://github.com/goreleaser/nfpm
synced 2024-05-19 00:56:13 +02:00
fix: version output (#684)
This commit is contained in:
parent
01f8a9ae95
commit
4afeb94599
|
@ -25,7 +25,7 @@ func main() {
|
|||
}
|
||||
|
||||
func buildVersion(version, commit, date, builtBy string) string {
|
||||
result := "nfpm version " + version
|
||||
result := version
|
||||
if commit != "" {
|
||||
result = fmt.Sprintf("%s\ncommit: %s", result, commit)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue