Skip to content

Commit 049bedc

Browse files
committed
Release prep v0.2.0
* bump version * generate CHANGELOG.md
1 parent 213195b commit 049bedc

File tree

5 files changed

+43
-3
lines changed

5 files changed

+43
-3
lines changed

CHANGELOG.md

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1-
## 0.1.0
1+
# Change log
22

3-
This is the initial release of the project.
3+
All 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).
4+
5+
## [v0.2.0](https://github.com/puppetlabs/puppet-modulebuilder/tree/v0.2.0) (2020-04-30)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppet-modulebuilder/compare/v0.1.0...v0.2.0)
8+
9+
**Implemented enhancements:**
10+
11+
- Set defaults for Builder [\#11](https://github.com/puppetlabs/puppet-modulebuilder/pull/11) ([ekohl](https://github.com/ekohl))
12+
13+
**Fixed bugs:**
14+
15+
- Always ignore .git [\#15](https://github.com/puppetlabs/puppet-modulebuilder/pull/15) ([ekohl](https://github.com/ekohl))
16+
17+
## v0.1.0
18+
19+
This is the initial release of the project.
20+
21+
22+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ group :development do
1515
gem 'codecov', '~> 0.1'
1616
gem 'simplecov', '~> 0.18'
1717
gem 'simplecov-console', '~> 0.6'
18+
gem 'github_changelog_generator', '~> 1.15', require: false
1819
end
1920

2021
if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.5.0')

HISTORY.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## v0.1.0
2+
3+
This is the initial release of the project.

Rakefile

+17
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,20 @@ RSpec::Core::RakeTask.new(:acceptance) do |t|
2424
end
2525

2626
task default: [:spec, :acceptance]
27+
28+
29+
if Bundler.rubygems.find_name('github_changelog_generator').any?
30+
require 'github_changelog_generator/task'
31+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
32+
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?
33+
config.user = "puppetlabs"
34+
config.project = "puppet-modulebuilder"
35+
require 'puppet/modulebuilder/version'
36+
config.future_release = "v#{Puppet::Modulebuilder::VERSION}"
37+
config.exclude_labels = ['maintenance']
38+
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)."
39+
config.add_pr_wo_labels = true
40+
config.issues = false
41+
config.merge_prefix = "### UNCATEGORIZED PRS; GO LABEL THEM"
42+
end
43+
end

lib/puppet/modulebuilder/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Puppet # rubocop:disable Style/ClassAndModuleChildren
44
module Modulebuilder
5-
VERSION = '0.1.0'
5+
VERSION = '0.2.0'
66
end
77
end

0 commit comments

Comments
 (0)