From: Bjørn Erik Pedersen Date: Sat, 21 Mar 2020 17:51:29 +0000 (+0100) Subject: releaser: Include "Revert" commits in change log X-Git-Tag: v0.68.1~3 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1ce3e7d521fdb5d315b06028ef19860dc2e43bf1;p=brevno-suite%2Fhugo releaser: Include "Revert" commits in change log --- diff --git a/releaser/git.go b/releaser/git.go index 69ba6268..19cf072e 100644 --- a/releaser/git.go +++ b/releaser/git.go @@ -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