Skip to content

Commit

Permalink
Use latest version date for check packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Mar 15, 2024
1 parent c48bc69 commit 25f2879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_latest_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main(*packages):
).date()

version_check = Version(current) >= Version(latest)
date_check = current_release_date >= allowed_date
date_check = latest_release_date >= allowed_date
is_latest = version_check or date_check
all_latest &= is_latest

Expand Down

0 comments on commit 25f2879

Please sign in to comment.