Skip to content

Commit c70c0c7

Browse files
committed
Generate changelog without v prefix
This repo historically used v1.x.x tags, but we stopped tagging with the `v` prefix in 1.8.2. However, when doing the 1.8.14 release, both 1.8.14 and v1.8.14 tags were created. So this commit excludes the v1.8.14 tag to avoid creating an empty changelog diff for `v1.8.14...1.8.14` And it updates the Rakefile to not prefix the future tag with `v`.
1 parent 4213a0c commit c70c0c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ begin
5151
require 'github_changelog_generator/task'
5252
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
5353
require 'puppet/resource_api/version'
54-
config.future_release = "v#{Puppet::ResourceApi::VERSION}"
54+
config.future_release = "#{Puppet::ResourceApi::VERSION}"
5555
config.header = "# Changelog\n\n" \
5656
"All significant changes to this repo will be summarized in this file.\n"
5757
# config.include_labels = %w[enhancement bug]
5858
config.user = 'puppetlabs'
5959
config.project = 'puppet-resource_api'
60+
config.exclude_tags = ['v1.8.14']
6061
end
6162
rescue LoadError
6263
desc 'Install github_changelog_generator to get access to automatic changelog generation'

0 commit comments

Comments
 (0)