aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <max@magorsch.de>2019-09-06 02:51:35 +0200
committerMax Magorsch <max@magorsch.de>2019-09-06 02:51:35 +0200
commit4ff066e3ae2a8100c1a14dcf9f165eee68ec977f (patch)
treeb78734ce37f1505e997d7ced5a71612c99007115
parentAdd an ES index containing the git commits (diff)
downloadpackages-5-4ff066e3ae2a8100c1a14dcf9f165eee68ec977f.tar.gz
packages-5-4ff066e3ae2a8100c1a14dcf9f165eee68ec977f.tar.bz2
packages-5-4ff066e3ae2a8100c1a14dcf9f165eee68ec977f.zip
Fix a small bug to select the correct changelog entry
Signed-off-by: Max Magorsch <max@magorsch.de>
-rw-r--r--app/helpers/packages_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/packages_helper.rb b/app/helpers/packages_helper.rb
index fe15564..8a4205f 100644
--- a/app/helpers/packages_helper.rb
+++ b/app/helpers/packages_helper.rb
@@ -83,7 +83,7 @@ module PackagesHelper
end
changelog.each do |changelog_entry|
- if changelog_entry.files["added"].include?('%s-%s.ebuild' % [change.package, change.version])
+ if changelog_entry.files["added"].include?('%s/%s/%s-%s.ebuild' % [change.category, change.package, change.package, change.version])
return changelog_entry
end
end