aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:23:55 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:28:19 -0800
commit742031c40b074b29a57d40a92c77da0387c422b2 (patch)
treecd31eb5c542cce8fb540ab54cf0f711d7790eb4b /Rakefile
parent6759abf9f5c578c93ad9cabc8b2b4161e213d8f1 (diff)
downloadpuppet-hosts_core-742031c40b074b29a57d40a92c77da0387c422b2.tar.gz
puppet-hosts_core-742031c40b074b29a57d40a92c77da0387c422b2.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?