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:
parent
6ffefc472b
commit
567ee8aac9
1
Gemfile
1
Gemfile
|
@ -5,7 +5,6 @@ gemspec
|
||||||
gem 'rgen'
|
gem 'rgen'
|
||||||
gem 'redcarpet'
|
gem 'redcarpet'
|
||||||
gem 'yard', '~> 0.9.11'
|
gem 'yard', '~> 0.9.11'
|
||||||
gem 'github_changelog_generator', git: 'https://github.com/skywinder/github-changelog-generator', ref: 'master'
|
|
||||||
|
|
||||||
if ENV['PUPPET_GEM_VERSION']
|
if ENV['PUPPET_GEM_VERSION']
|
||||||
gem 'puppet', ENV['PUPPET_GEM_VERSION'], :require => false
|
gem 'puppet', ENV['PUPPET_GEM_VERSION'], :require => false
|
||||||
|
|
27
Rakefile
27
Rakefile
|
@ -1,7 +1,6 @@
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'puppetlabs_spec_helper/rake_tasks'
|
require 'puppetlabs_spec_helper/rake_tasks'
|
||||||
require 'puppet-lint/tasks/puppet-lint'
|
require 'puppet-lint/tasks/puppet-lint'
|
||||||
require 'github_changelog_generator/task'
|
|
||||||
|
|
||||||
# Add our own tasks
|
# Add our own tasks
|
||||||
require 'puppet-strings/tasks'
|
require 'puppet-strings/tasks'
|
||||||
|
@ -9,32 +8,6 @@ require 'puppet-strings/tasks'
|
||||||
PuppetLint.configuration.send('disable_80chars')
|
PuppetLint.configuration.send('disable_80chars')
|
||||||
PuppetLint.configuration.ignore_paths = %w(acceptance/**/*.pp spec/**/*.pp pkg/**/*.pp)
|
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.'
|
desc 'Validate Ruby source files and ERB templates.'
|
||||||
task :validate do
|
task :validate do
|
||||||
Dir['spec/**/*.rb','lib/**/*.rb'].each do |ruby_file|
|
Dir['spec/**/*.rb','lib/**/*.rb'].each do |ruby_file|
|
||||||
|
|
Loading…
Reference in New Issue