summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-12-25 22:58:30 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-12-28 15:01:25 +0900
commit67026af146d8298a4acb0514a5dc395d39275ab3 (patch)
treeef3eff6dc116e05d2a8e8a0d1fa4e419f4f0c214
parent606f7540eec509ddac3bf56accee95981eb29f92 (diff)
Exclude [ci skip] commits from ChangeLog
-rw-r--r--tool/lib/vcs.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index 872d656e75..900ea59017 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -680,7 +680,10 @@ class VCS
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"