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