Skip to content

Commit

Permalink
announcements: add missing newline before before heading (#589)
Browse files Browse the repository at this point in the history
We have trim_blocks enabled in the Jinja environment, so we need an
extra newline here.
  • Loading branch information
gotmax23 committed Feb 28, 2024
1 parent 477f220 commit dbc0b90
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelogs/fragments/589-announcement-fix2.yaml
@@ -0,0 +1,4 @@
---
bugfixes:
- "announcements - add missing newline before heading in email template
(https://github.com/ansible-community/antsibull/pull/589)."
1 change: 1 addition & 0 deletions src/antsibull/data/ansible-email-announcement.j2
Expand Up @@ -11,6 +11,7 @@ We're happy to announce the release of the Ansible {{ version }} package{% if is

Ansible {{ version }} depends on ansible-core {{ core_version }} and includes a curated set of Ansible collections that provide a vast number of modules, plugins, and roles.{% if is_major_release and is_prerelease %} This is a pre-release of Ansible {{ major_version }}.{% elif is_major_release %} This is the first stable release of Ansible {{ major_version }}.{% elif is_prerelease %} This is a pre-release of Ansible.{% endif %}


{{ "How to get it" | email_heading }}

This {% if is_prerelease %}pre-{% endif %}release is available on PyPI and can be installed with pip:
Expand Down
Expand Up @@ -3,6 +3,7 @@ Hello everyone,
We're happy to announce the release of the Ansible 7.0.0 package!

Ansible 7.0.0 depends on ansible-core 2.14.0 and includes a curated set of Ansible collections that provide a vast number of modules, plugins, and roles. This is the first stable release of Ansible 7.

How to get it
-------------

Expand Down
Expand Up @@ -3,6 +3,7 @@ Hello everyone,
We're happy to announce the release of the Ansible 7.0.0b1 package pre-release!

Ansible 7.0.0b1 depends on ansible-core 2.14.0 and includes a curated set of Ansible collections that provide a vast number of modules, plugins, and roles. This is a pre-release of Ansible 7.

How to get it
-------------

Expand Down
Expand Up @@ -3,6 +3,7 @@ Hello everyone,
We're happy to announce the release of the Ansible 7.4.0 package!

Ansible 7.4.0 depends on ansible-core 2.14.4 and includes a curated set of Ansible collections that provide a vast number of modules, plugins, and roles.

How to get it
-------------

Expand Down

0 comments on commit dbc0b90

Please sign in to comment.