Skip to content

Commit 090cdd8

Browse files
committed
Add rake changelog
1 parent 1cba868 commit 090cdd8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Rakefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ task :release do
1414
end
1515
end
1616

17+
desc "Generate changelog entry"
18+
task :changelog, [:before, :after] do |_, params|
19+
args = []
20+
args << "--before #{params.before}" if params.before
21+
args << "--after #{params.after}" if params.after
22+
23+
sh "ruby _tools/changelog_generator/changelog_generator.rb #{args.join(" ")}"
24+
end
25+
1726
task build_all: %w[ruby:build_all go:build_all go_gem:test ruby_h_to_go:test patch_for_go_gem:test]
1827

1928
task default: :build_all

0 commit comments

Comments
 (0)