Skip to content

Commit

Permalink
Exclude [ci skip] commits from ChangeLog
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 28, 2023
1 parent 606f754 commit 67026af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tool/lib/vcs.rb
Expand Up @@ -680,7 +680,10 @@ def export_changelog(url = '@', from = nil, to = nil, _path = nil, path: _path,

def format_changelog(path, arg, base_url = nil)
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"
unless system(env, *cmd, date, "-1", chdir: @srcdir, out: NullDevice, exception: false)
date = "--date=iso"
Expand Down

0 comments on commit 67026af

Please sign in to comment.