aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:33:55 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:33:55 -0800
commitacb57af9252b9ff1ac3fb4a0e0f0a60d0a390c56 (patch)
tree223790e2c54e8e35dc14d7827796267be0c466fa /Rakefile
parent7a7abeac98b31aebcf3ac0643ca422e247617a88 (diff)
downloadpuppet-cron_core-acb57af9252b9ff1ac3fb4a0e0f0a60d0a390c56.tar.gz
puppet-cron_core-acb57af9252b9ff1ac3fb4a0e0f0a60d0a390c56.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?