Skip to content

Commit

Permalink
improve duplicate detection for evergabe
Browse files Browse the repository at this point in the history
  • Loading branch information
breunigs committed Oct 2, 2024
1 parent cd1cee2 commit bdbf819
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/evergabe_check_updates.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ def search_url(term)
end

projects.uniq.each do |proj|
next if seen[proj["projectNumber"]] == proj["publicationDate"]
seen[proj["projectNumber"]] = proj["publicationDate"]
# using bidding period as marker, since the publication date changes for minor updates
next if seen[proj["projectNumber"]] == proj["biddingPeriod"]
seen[proj["projectNumber"]] = proj["biddingPeriod"]
puts <<~DOC
#{"="*60}
#{proj["title"]}
Expand Down

0 comments on commit bdbf819

Please sign in to comment.