diff --git a/src/docs/generate_oci_doc_yaml.py b/src/docs/generate_oci_doc_yaml.py index 90e00842..7ed2f412 100755 --- a/src/docs/generate_oci_doc_yaml.py +++ b/src/docs/generate_oci_doc_yaml.py @@ -268,7 +268,7 @@ def build_releases_data( eol = parser.parse(all_tracks[track_base]) release_data["support"] = {"until": eol.strftime("%m/%Y")} - if eol > datetime.now(timezone.utc): + if eol < datetime.now(timezone.utc): release_data["deprecated"] = { "date": eol.strftime("%m/%Y") }