aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:51:00 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:51:00 -0800
commit24d2929d67011fbd4ea27fc94025ee14390e74cd (patch)
tree31539eb78938187d9987385824f16d95bcb63304 /Rakefile
parent145eb52d8542232181d3028c2b3aee3760a10199 (diff)
downloadpuppet-augeas_core-24d2929d67011fbd4ea27fc94025ee14390e74cd.tar.gz
puppet-augeas_core-24d2929d67011fbd4ea27fc94025ee14390e74cd.tar.bz2
(MODULES-11371) Updates PDK template
This commit runs `pdk update` using the most recent template at the time (2.7.1) and updates metadata.json to allow Puppet versions < 9.0.0 in preparation for the release of Puppet 8.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 2906c15..0f8754e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -43,6 +43,7 @@ end
PuppetLint.configuration.send('disable_relative')
+
if Bundler.rubygems.find_name('github_changelog_generator').any?
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
raise "Set CHANGELOG_GITHUB_TOKEN environment variable eg 'export CHANGELOG_GITHUB_TOKEN=valid_token_here'" if Rake.application.top_level_tasks.include? "changelog" and ENV['CHANGELOG_GITHUB_TOKEN'].nil?