forked from consuldemocracy/consuldemocracy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
22 lines (18 loc) · 761 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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