1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: do not decorate git log output

Ensure that the git log output is not decorated. Otherwise, the format
changes and the tests fail.

Fixes #439
This commit is contained in:
Frank Schroeder 2017-12-06 01:29:00 +01:00 committed by Carlos Alexandro Becker
parent aa033d8f99
commit d4a54c9381

View File

@ -124,7 +124,7 @@ func getChangelog(tag string) (string, error) {
}
func gitLog(refs ...string) (string, error) {
var args = []string{"log", "--pretty=oneline", "--abbrev-commit"}
var args = []string{"log", "--pretty=oneline", "--abbrev-commit", "--no-decorate"}
args = append(args, refs...)
return git.Run(args...)
}