From 1891006c9087f1655a6292a64a2e0f3cc66fbadb Mon Sep 17 00:00:00 2001 From: Ronny Vedrilla Date: Thu, 20 Jun 2024 16:01:39 +0200 Subject: [PATCH] v24.6.2 & v24.6.3 --- CHANGES.md | 6 ++++++ ambient_package_update/__init__.py | 2 +- ambient_package_update/metadata/readme.py | 2 -- ambient_package_update/templates/snippets/installation.tpl | 2 -- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index a8ebff8..98f4ae4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Changelog +**24.6.3 (2024-06-20)** +* Removed `custom_installation` and `additional_installation` from class `ReadmeContent` + +**24.6.2 (2024-06-20)** +* Added new feature of customizable templates + **24.6.1 (2024-06-14)** * Added `module_name` variable to Package metadata * Added opt-out for internationalisation content in Readme-file diff --git a/ambient_package_update/__init__.py b/ambient_package_update/__init__.py index f191028..0ad2bbe 100644 --- a/ambient_package_update/__init__.py +++ b/ambient_package_update/__init__.py @@ -1,3 +1,3 @@ """Ambient package update tool for clean and swift maintenance""" -__version__ = "24.6.1" +__version__ = "24.6.3" diff --git a/ambient_package_update/metadata/readme.py b/ambient_package_update/metadata/readme.py index 1acabf2..2701d97 100644 --- a/ambient_package_update/metadata/readme.py +++ b/ambient_package_update/metadata/readme.py @@ -7,6 +7,4 @@ class ReadmeContent: # Variables that are used in the default templates tagline: str = None content: Optional[str] = None - custom_installation: Optional[str] = None - additional_installation: Optional[str] = None uses_internationalisation: bool = True diff --git a/ambient_package_update/templates/snippets/installation.tpl b/ambient_package_update/templates/snippets/installation.tpl index cc65055..35e0e6a 100644 --- a/ambient_package_update/templates/snippets/installation.tpl +++ b/ambient_package_update/templates/snippets/installation.tpl @@ -22,5 +22,3 @@ `python ./manage.py migrate` {% endif %} - -{% if readme_content.additional_installation %}{{ readme_content.additional_installation }}{% endif %}