| 1 |
begin |
| 2 |
require 'github_changelog_generator/task' |
| 3 |
rescue LoadError |
| 4 |
# github_changelog_generator is an optional group |
| 5 |
else |
| 6 |
GitHubChangelogGenerator::RakeTask.new :changelog do |config| |
| 7 |
version = File.read('version').strip |
| 8 |
config.future_release = version |
| 9 |
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file." |
| 10 |
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog github_actions] |
| 11 |
config.user = 'voxpupuli' |
| 12 |
config.project = 'pypuppetdb' |
| 13 |
end |
| 14 |
end |