-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Rakefile
32 lines (27 loc) · 955 Bytes
/
Rakefile
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
27
28
29
30
31
32
# frozen_string_literal: true
$LOAD_PATH.unshift File.expand_path('lib', __dir__)
require 'voxpupuli/release/version'
task default: :dummy
desc 'Dummy rake task'
task 'dummy' do
puts 'this is a dummy rake task that just prints this line.'
end
begin
require 'github_changelog_generator/task'
rescue LoadError
# github_changelog_generator is an optional group
else
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
version = Voxpupuli::Release::VERSION
config.future_release = "v#{version}" if /^\d+\.\d+.\d+$/.match?(version)
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog github_actions]
config.user = 'voxpupuli'
config.project = 'voxpupuli-release'
end
end
begin
require 'voxpupuli/rubocop/rake'
rescue LoadError
# the voxpupuli-rubocop gem is optional
end