Files
nairobi/Rakefile
Javi Martín 96be43ae86 Don't generate authors in the CHANGELOG
We were removing the authors manually after they were generated.
2019-11-23 14:15:48 +01:00

23 lines
761 B
Ruby

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path("../config/application", __FILE__)
Rails.application.load_tasks if Rake::Task.tasks.empty?
KnapsackPro.load_tasks if defined?(KnapsackPro)
if Rails.env.development?
require "github_changelog_generator/task"
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.user = "consul"
config.project = "consul"
config.since_tag = "1.0.0"
config.future_release = "1.1.0"
config.base = "#{Rails.root}/CHANGELOG.md"
config.token = Rails.application.secrets.github_changelog_token
config.issues = false
config.author = false
end
end