diff --git a/Gemfile b/Gemfile index ef68bb0..9df5471 100644 --- a/Gemfile +++ b/Gemfile @@ -28,3 +28,8 @@ gem 'puppet-lint-undef_in_function-check', :require => false gem 'puppet-lint-unquoted_string-check', :require => false gem 'puppet-lint-variable_contains_upcase', :require => false gem 'puppet-lint-version_comparison-check', :require => false + +# Rack if a dependency of github_changelog_generator +gem 'github_changelog_generator', require: false +gem 'rack', '~> 1.0', :require => false if RUBY_VERSION <= '2.2.2' +gem 'rack', :require => false if RUBY_VERSION > '2.2.2' diff --git a/Rakefile b/Rakefile index e2cf8b8..86f084f 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,14 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-lint/tasks/puppet-lint' require 'rubocop/rake_task' +require 'github_changelog_generator/task' + +GitHubChangelogGenerator::RakeTask.new :changelog do |config| + config.user = 'ghoneycutt' + config.project = 'puppet-module-puppet' + config.issues = false + config.token = ENV['GITHUB_CHANGELOG_TOKEN'] +end RuboCop::RakeTask.new