filter-tags - Added capability to exclude tags with a regular expression by filtering names.

This commit is contained in:
soundstep
2016-01-22 13:32:31 +00:00
parent 4f932fda1a
commit 40dec5346b
2 changed files with 17 additions and 0 deletions
+3
View File
@@ -116,6 +116,9 @@ module GitHubChangelogGenerator
opts.on("--between-tags x,y,z", Array, "Change log will be filled only between specified tags") do |list|
options[:between_tags] = list
end
opts.on("--filter-tags [REGEX]", "Apply a regular expression on tag names so that they can be excluded, for example: --filter-tags \".*\+\d{1,}\" ") do |last|
options[:filter_tags] = last
end
opts.on("--exclude-tags x,y,z", Array, "Change log will exclude specified tags") do |list|
options[:exclude_tags] = list
end