Skip to content

Commit b711410

Browse files
committed
Changes for github_changelog_generator Raketask
- Added github_site for remote server - Added github_endpoint for remote server - Added gitlab for preparation of gitlab support added in (github-changelog-generator/github-changelog-generator#657) These settings will not be added by default. Only if added to .sync.yml They allow for GitHub Enterprise and Gitlab options down the road.
1 parent 2193f1f commit b711410

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

moduleroot/Rakefile.erb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@ PuppetLint.configuration.send('<%= option %>')
7777
if Bundler.rubygems.find_name('github_changelog_generator').any?
7878
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
7979
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?
80+
<% if @configs['github_site'] -%>
81+
config.github_site = <%= @configs['github_site'].inspect %>
82+
<% end -%>
83+
<% if @configs['github_endpoint'] -%>
84+
config.github_endpoint = <%= @configs['github_endpoint'].inspect %>
85+
<% end -%>
86+
<% if @configs['gitlab'] -%>
87+
config.gitlab = <%= @configs['gitlab'].inspect %>
88+
<% end -%>
8089
config.user = "#{changelog_user}"
8190
config.project = "#{changelog_project}"
8291
<% if @configs['changelog_since_tag'] -%>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy