aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 09:57:58 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-02-10 10:05:28 -0800
commit057188e4ee41406d4981ed328617bf914e733725 (patch)
tree7eeca55fb14c62b01358ee29797aefd924535716 /Rakefile
parent05b3bc16113be081663f527f938f7d1d16f5154d (diff)
downloadpuppet-sshkeys_core-057188e4ee41406d4981ed328617bf914e733725.tar.gz
puppet-sshkeys_core-057188e4ee41406d4981ed328617bf914e733725.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?