pdksync_heads/main-0-gf3911d3

This commit is contained in:
david22swan
2022-03-16 15:38:40 +00:00
parent d36a0f6f12
commit 369219732b
10 changed files with 84 additions and 50 deletions

View File

@@ -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?