hold off on gcg

The version of github changelog generator we want to use requires a
version of Ruby we can't yet guarantee. This reverts all the plumbing
for gcg while still committing the changelog
This commit is contained in:
Eric Putnam 2018-02-27 10:31:00 -08:00
parent 6ffefc472b
commit 567ee8aac9
No known key found for this signature in database
GPG Key ID: 3FB595AA224A7751
2 changed files with 0 additions and 28 deletions

View File

@ -5,7 +5,6 @@ gemspec
gem 'rgen'
gem 'redcarpet'
gem 'yard', '~> 0.9.11'
gem 'github_changelog_generator', git: 'https://github.com/skywinder/github-changelog-generator', ref: 'master'
if ENV['PUPPET_GEM_VERSION']
gem 'puppet', ENV['PUPPET_GEM_VERSION'], :require => false

View File

@ -1,7 +1,6 @@
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
require 'github_changelog_generator/task'
# Add our own tasks
require 'puppet-strings/tasks'
@ -9,32 +8,6 @@ require 'puppet-strings/tasks'
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.ignore_paths = %w(acceptance/**/*.pp spec/**/*.pp pkg/**/*.pp)
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.user = 'puppetlabs'
config.project = 'puppet-strings'
config.since_tag = '1.1.1'
config.future_release = '1.2.0'
config.exclude_labels = ['maintenance']
config.header = "# Change log\n\nAll notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org)."
config.add_pr_wo_labels = true
config.issues = false
config.merge_prefix = "### UNCATEGORIZED PRS; GO LABEL THEM"
config.configure_sections = {
"Changed" => {
"prefix" => "### Changed",
"labels" => ["backwards-incompatible"],
},
"Added" => {
"prefix" => "### Added",
"labels" => ["feature", "enhancement"],
},
"Fixed" => {
"prefix" => "### Fixed",
"labels" => ["bugfix"],
},
}
end
desc 'Validate Ruby source files and ERB templates.'
task :validate do
Dir['spec/**/*.rb','lib/**/*.rb'].each do |ruby_file|