changelogs - better handle BE

pull/327/head
Ad Schellevis 3 years ago
parent fdf0f0c382
commit 4d01123be5

@ -100,6 +100,8 @@ def parse_change_log(payload, this_version, links):
# prelude exit
if prelude_line and line.find('https://opnsense.org/download/') > -1:
prelude_line = False
elif prelude_line and line.find('https://downloads.opnsense.com') > -1: # BE
prelude_line = False
result["content"] = "\n".join(result["content"])
result["prelude"] = "\n".join(result["prelude"])

@ -1,5 +1,5 @@
===========================================================================================
{{ this_version }} "{{ nicknames[this_version] }}" Series
{{ this_version }} {% if nicknames[this_version] %} "{{ nicknames[this_version] }}"{% endif %} Series
===========================================================================================
{{ versions[this_version]['prelude'] }}

Loading…
Cancel
Save