Exclude [ci skip] commits from ChangeLog

This commit is contained in:
Nobuyoshi Nakada 2023-12-25 22:58:30 +09:00
parent 606f7540ee
commit 67026af146
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -680,7 +680,10 @@ class VCS
def format_changelog(path, arg, base_url = nil) def format_changelog(path, arg, base_url = nil)
env = {'TZ' => 'JST-9', 'LANG' => 'C', 'LC_ALL' => 'C'} env = {'TZ' => 'JST-9', 'LANG' => 'C', 'LC_ALL' => 'C'}
cmd = %W"#{COMMAND} log --format=fuller --notes=commits --notes=log-fix --topo-order --no-merges" cmd = %W[#{COMMAND} log
--format=fuller --notes=commits --notes=log-fix --topo-order --no-merges
--fixed-strings --invert-grep --grep=[ci\ skip] --grep=[skip\ ci]
]
date = "--date=iso-local" date = "--date=iso-local"
unless system(env, *cmd, date, "-1", chdir: @srcdir, out: NullDevice, exception: false) unless system(env, *cmd, date, "-1", chdir: @srcdir, out: NullDevice, exception: false)
date = "--date=iso" date = "--date=iso"