From 67026af146d8298a4acb0514a5dc395d39275ab3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 25 Dec 2023 22:58:30 +0900 Subject: [PATCH] Exclude [ci skip] commits from ChangeLog --- tool/lib/vcs.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 872d656e751a2d..900ea59017b67c 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -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"