Fix sign error

This commit is contained in:
Henry Mercer
2023-05-31 16:49:34 +01:00
parent e7cff66ce1
commit 955f8596ae

View File

@@ -37,7 +37,7 @@ def main():
end_of_life_date = datetime.date.fromisoformat(release_data["end"])
# The GHES version is not actually end of life until the end of the day specified by
# `end_of_life_date`. Wait an extra week to be safe.
if end_of_life_date > datetime.date.today() + datetime.timedelta(weeks=1):
if end_of_life_date > datetime.date.today() - datetime.timedelta(weeks=1):
oldest_supported_release = release_version
api_compatibility_data = {