mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
releaser: Include "Revert" commits in change log
This commit is contained in:
parent
c9dc316ad1
commit
1ce3e7d521
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
// 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) {
|
func gitLogBefore(ref, tag, repoPath string) (string, error) {
|
||||||
var prevTag string
|
var prevTag string
|
||||||
|
|
Loading…
Reference in a new issue