Skip to content

Commit

Permalink
github_changelog_generator: Apply best practices
Browse files Browse the repository at this point in the history
We use this Rakefile setup everywhere else.
  • Loading branch information
bastelfreak committed Jan 30, 2024
1 parent eb35a8d commit 4d808af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ namespace :puppet_versions do
end

begin
require 'rubygems'
require 'github_changelog_generator/task'

rescue LoadError
# github_changelog_generator is an optional group
else
require 'rubygems'
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.exclude_labels = %w{duplicate question invalid wontfix wont-fix skip-changelog}
config.user = 'voxpupuli'
config.project = 'rspec-puppet-facts'
gem_version = Gem::Specification.load("#{config.project}.gemspec").version
config.future_release = gem_version
end
rescue LoadError
# Changelog generator is optional
end

begin
Expand Down

0 comments on commit 4d808af

Please sign in to comment.