aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJosh Cooper <737664+joshcooper@users.noreply.github.com>2023-02-14 15:24:19 -0800
committerGitHub <noreply@github.com>2023-02-14 15:24:19 -0800
commit55829b4a183e89bb8b1ec6f7c1217d98f8d4d3e5 (patch)
tree87966c8cab5414c7a43321b4abc6ddb8f6c60eae /Rakefile
parent145eb52d8542232181d3028c2b3aee3760a10199 (diff)
parentc2e7fa274cab18db16a6f31b7506f582da83d737 (diff)
downloadpuppet-augeas_core-55829b4a183e89bb8b1ec6f7c1217d98f8d4d3e5.tar.gz
puppet-augeas_core-55829b4a183e89bb8b1ec6f7c1217d98f8d4d3e5.tar.bz2
Merge pull request #56 from puppetlabs/MODULES-11371/main/puppet-8-prep
(MODULES-11371) Updates PDK template
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 2906c15..10ddd14 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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?