diff options
author | Josh Cooper <737664+joshcooper@users.noreply.github.com> | 2023-02-14 15:21:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 15:21:22 -0800 |
commit | 274d43c0d88677b4ccb8615c67d7446584201116 (patch) | |
tree | 6a0b08eb33ed308bb8196fa6b959cc274a657e2b /Rakefile | |
parent | 05b3bc16113be081663f527f938f7d1d16f5154d (diff) | |
parent | ab62c7d9af7718b6fe9ac09137f14ecaa8b1bc37 (diff) | |
download | puppet-sshkeys_core-274d43c0d88677b4ccb8615c67d7446584201116.tar.gz puppet-sshkeys_core-274d43c0d88677b4ccb8615c67d7446584201116.tar.bz2 |
Merge pull request #67 from mhashizume/MODULES-11371/main/puppet-8-prep
(MODULES-11371) Updates PDK template
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7,6 +7,7 @@ require 'puppet-syntax/tasks/puppet-syntax' require 'puppet_blacksmith/rake_tasks' if Bundler.rubygems.find_name('puppet-blacksmith').any? require 'github_changelog_generator/task' if Bundler.rubygems.find_name('github_changelog_generator').any? require 'puppet-strings/tasks' if Bundler.rubygems.find_name('puppet-strings').any? +require 'voxpupuli/acceptance/rake' def changelog_user return unless Rake.application.top_level_tasks.include? "changelog" @@ -43,6 +44,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? |