Files
nairobi/Rakefile
Julian Herrero be4f6bc07e Make it easier to release a new version of CONSUL
With this change we no longer need the branch `changelog` and it will
be easier to release new versions of CONSUL.
2019-11-23 14:06:53 +01:00

21 lines
709 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
end
end