Skip to content

Commit 9a241d3

Browse files
committed
(CONT-954) Pin changelog generator to 1.15.2
Prior to this commit, the release prep workflow intorduced was failing due to an incorrect version of the changelog generator. This commit pins it in the sync.yml and a pdk update was run. webmock is also added to .sync.yml
1 parent 09709ee commit 9a241d3

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.sync.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
appveyor.yml:
1111
delete: true
1212
Gemfile:
13-
unmanaged: true
13+
optional:
14+
":development":
15+
- gem: github_changelog_generator
16+
version: '= 1.15.2'
17+
- gem: webmock
1418
Rakefile:
1519
changelog_project: provision
1620
spec/spec_helper.rb:

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ group :development do
1919
gem "json", '= 2.5.1', require: false if Gem::Requirement.create(['>= 3.0.0', '< 3.0.5']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
2020
gem "json", '= 2.6.1', require: false if Gem::Requirement.create(['>= 3.1.0', '< 3.1.3']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
2121
gem "json", '= 2.6.3', require: false if Gem::Requirement.create(['>= 3.2.0', '< 4.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
22-
gem 'github_changelog_generator', require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.5.0')
2322
gem "voxpupuli-puppet-lint-plugins", '~> 5.0', require: false
2423
gem "facterdb", '~> 1.18', require: false
2524
gem "metadata-json-lint", '~> 3.0', require: false
@@ -35,7 +34,8 @@ group :development do
3534
gem "rubocop-performance", '= 1.16.0', require: false
3635
gem "rubocop-rspec", '= 2.19.0', require: false
3736
gem "rb-readline", '= 0.5.5', require: false, platforms: [:mswin, :mingw, :x64_mingw]
38-
gem 'webmock'
37+
gem "github_changelog_generator", '= 1.15.2', require: false
38+
gem "webmock", require: false
3939
end
4040
group :system_tests do
4141
gem "puppet_litmus", '~> 1.0', require: false, platforms: [:ruby, :x64_mingw]

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ end
4242

4343
PuppetLint.configuration.send('disable_relative')
4444

45+
4546
if Bundler.rubygems.find_name('github_changelog_generator').any?
4647
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
4748
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?

0 commit comments

Comments
 (0)