-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathRakefile
More file actions
26 lines (25 loc) · 1.07 KB
/
Rakefile
File metadata and controls
26 lines (25 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
begin
require 'github_changelog_generator/task'
rescue LoadError
task :changelog do
abort('Run `bundle install --with release` to install the `github_changelog_generator` gem.')
end
else
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.header = <<~HEADER.chomp
# Changelog
All notable changes to this project will be documented in this file.
HEADER
config.user = 'OpenVoxProject'
config.project = 'trapperkeeper'
config.exclude_labels = %w[dependencies duplicate question invalid wontfix wont-fix modulesync skip-changelog]
# this is probably the worst way to do this
# ideally there would be a VERSION file and clojure and Rake would read it
config.future_release = File.readlines('project.clj').grep(/trapperkeeper/).first.scan(/".*"/).first.gsub('"', '')
# we limit the changelog to all new openvox releases, to skip perforce onces
# otherwise the changelog generate takes a lot amount of time
config.since_tag = '4.0.2'
#config.exclude_tags_regex = /\A7\./
config.release_branch = 'main'
end
end