Skip to content

Commit

Permalink
Do not publish releases named 'null' in RSS
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed May 26, 2019
1 parent 6455f9a commit ea4e0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.rss.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ xml.feed(xmlns:"http://www.w3.org/2005/Atom") {

json.releaseHistory.reverse().subList(0,30).each { i ->
i.releases.each { r ->
if (r.gav) {
if (r.gav && r.title) {
entry {
s = (first[toGA(r.gav)] == r.gav) ? " (new)" : ""
title("${r.title} ${r.version}${s}")
Expand Down

0 comments on commit ea4e0be

Please sign in to comment.