Showing with 33 additions and 7 deletions.
  1. +8 −0 CHANGELOG.md
  2. +24 −6 Rakefile
  3. +1 −1 metadata.json
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
Each new release typically also includes the latest modulesync defaults.
These should not affect the functionality of the module.

## [v4.5.1](https://github.com/voxpupuli/puppet-firewalld/tree/v4.5.1) (2022-08-15)

[Full Changelog](https://github.com/voxpupuli/puppet-firewalld/compare/v4.5.0...v4.5.1)

**Fixed bugs:**

- Simple version bump to fix internal release issues

## [v4.5.0](https://github.com/voxpupuli/puppet-firewalld/tree/v4.5.0) (2022-08-15)

[Full Changelog](https://github.com/voxpupuli/puppet-firewalld/compare/v4.4.0...v4.5.0)
Expand Down
30 changes: 24 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
require 'voxpupuli/test/rake'
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

# Attempt to load voxpupuli-test (which pulls in puppetlabs_spec_helper),
# otherwise attempt to load it directly.
begin
require 'voxpupuli/test/rake'
rescue LoadError
begin
require 'puppetlabs_spec_helper/rake_tasks'
rescue LoadError
end
end

# load optional tasks for acceptance
# only available if gem group releases is installed
begin
require 'voxpupuli/acceptance/rake'
rescue LoadError
end

# load optional tasks for releases
# only available if gem group releases is installed
Expand Down Expand Up @@ -26,15 +45,14 @@ end

begin
require 'github_changelog_generator/task'
require 'puppet_blacksmith'
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
version = (Blacksmith::Modulefile.new).version
config.future_release = "v#{version}" if version =~ /^\d+\.\d+.\d+$/
metadata = Blacksmith::Modulefile.new
config.future_release = "v#{metadata.version}" if metadata.version =~ /^\d+\.\d+.\d+$/
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file.\nEach new release typically also includes the latest modulesync defaults.\nThese should not affect the functionality of the module."
config.exclude_labels = %w{duplicate question invalid wontfix wont-fix modulesync skip-changelog}
config.user = 'voxpupuli'
metadata_json = File.join(File.dirname(__FILE__), 'metadata.json')
metadata = JSON.load(File.read(metadata_json))
config.project = metadata['name']
config.project = metadata.metadata['name']
end

# Workaround for https://github.com/github-changelog-generator/github-changelog-generator/issues/715
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppet-firewalld",
"version": "4.5.0",
"version": "4.5.1",
"author": "Vox Pupuli",
"summary": "Configure firewalld zones, services, and rich rules and direct config",
"license": "Apache-2.0",
Expand Down