From 699bfd663fab4b3166269063684e1aa705fe0a11 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 29 Jul 2021 17:47:37 +0200 Subject: [PATCH] Rakefile: Use `name` from metadata.json for GCG config.project Fixes https://github.com/voxpupuli/modulesync_config/pull/730#discussion_r679144339 Tested at: https://github.com/voxpupuli/puppet-lldpd/pull/107 --- moduleroot/Rakefile.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moduleroot/Rakefile.erb b/moduleroot/Rakefile.erb index 5081d53e..1ca069bb 100644 --- a/moduleroot/Rakefile.erb +++ b/moduleroot/Rakefile.erb @@ -52,7 +52,7 @@ begin 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 = '<%= @configs['config.user'] -%>' - config.project = metadata.name + config.project = metadata.metadata['name'] end # Workaround for https://github.com/github-changelog-generator/github-changelog-generator/issues/715