Skip to content

Commit

Permalink
Merge pull request #163 from bastelfreak/gcg2
Browse files Browse the repository at this point in the history
github_changelog_generator: Apply best practices
  • Loading branch information
bastelfreak authored Jan 30, 2024
2 parents a71286d + 4d808af commit c7dbd2c
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 c7dbd2c

Please sign in to comment.