releaser: Include "Revert" commits in change log
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 21 Mar 2020 17:51:29 +0000 (18:51 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 21 Mar 2020 17:51:29 +0000 (18:51 +0100)
releaser/git.go

index 69ba6268bffd7c4b4e7aaf4ddc54b2cb0da13b10..19cf072eed63cb81a61027bb132b0e7dd101c4c4 100644 (file)
@@ -255,7 +255,7 @@ func getGitInfosBefore(ref, tag, repo, repoPath string, remote bool) (gitInfos,
 }
 
 // Ignore autogenerated commits etc. in change log. This is a regexp.
-const ignoredCommits = "releaser?:|snapcraft:|Merge commit|Squashed|Revert"
+const ignoredCommits = "releaser?:|snapcraft:|Merge commit|Squashed"
 
 func gitLogBefore(ref, tag, repoPath string) (string, error) {
        var prevTag string