diff --git a/releases/haproxy.json b/releases/haproxy.json index e434c21b..38e7793d 100644 --- a/releases/haproxy.json +++ b/releases/haproxy.json @@ -255,5 +255,6 @@ "2.6.3": "2022-08-19", "2.6.2": "2022-07-22", "2.6.1": "2022-06-21", - "2.6.0": "2022-05-31" + "2.6.0": "2022-05-31", + "2.7.0": "2022-12-01" } \ No newline at end of file diff --git a/src/haproxy.py b/src/haproxy.py index d8817f33..0ea7d7b4 100644 --- a/src/haproxy.py +++ b/src/haproxy.py @@ -7,8 +7,9 @@ REGEX = r"^(\d{4})\/(\d{2})\/(\d{2})\s+:\s+(\d+\.\d+\.\d.?)$" list = {} -for i in range(17, 27): +for i in range(17, 28): url = "https://www.haproxy.org/download/%s/src/CHANGELOG" % (i / 10) + print(url) with urllib.request.urlopen(url) as response: for line in response: m = re.match(REGEX, line.decode("utf-8"))