From 9463595b11876dac68e92e5e438b70c07eeedaaa Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 8 Nov 2022 20:01:03 -0500 Subject: [PATCH] genrelnotes: Jump to version 1.0.0 --- docs/genrelnotes.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/genrelnotes.py b/docs/genrelnotes.py index 0d9f60da5..6873019b6 100755 --- a/docs/genrelnotes.py +++ b/docs/genrelnotes.py @@ -49,7 +49,10 @@ def add_to_sitemap(sitemap, output_sitemap): m = re.match(r'[\s]*Release-notes-for-([0-9]+)\.([0-9]+)\.([0-9]+)\.md', line) if m: from_version = f'{m[1]}.{m[2]}.{m[3]}' - to_version = f'{m[1]}.{int(m[2]) + 1}.{m[3]}' + if from_version == '0.64.0': + to_version = '1.0.0' + else: + to_version = f'{m[1]}.{int(m[2]) + 1}.{m[3]}' new_line = line.replace(from_version, to_version) relnotes = new_line.strip() s_f.write(new_line)