diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0c80af8..3026214 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,9 @@ Changelog Unreleased ========== + +5.0.0 +================== * feat: Universal support for django CMS 3.11 and 4.x diff --git a/pyproject.toml b/pyproject.toml index 8c9c06c..ea0defd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,9 @@ static-ace = ["djangocms-static-ace"] where = ["src"] exclude = ["tests"] +[tool.setuptools.dynamic] +version = {attr = "djangocms_snippet.__version__"} + [project.urls] "Bug Tracker" = "https://github.com/django-cms/djangocms-snippet/issues" Changelog = "https://github.com/django-cms/djangocms-snippet/blob/master/CHANGELOG.rst" diff --git a/src/djangocms_snippet/__init__.py b/src/djangocms_snippet/__init__.py index 10daf97..ba7be38 100644 --- a/src/djangocms_snippet/__init__.py +++ b/src/djangocms_snippet/__init__.py @@ -1 +1 @@ -__version__ = "5.0.0a1" +__version__ = "5.0.0" diff --git a/tox.ini b/tox.ini index 60635f9..45a7a66 100644 --- a/tox.ini +++ b/tox.ini @@ -39,7 +39,7 @@ known_django = django [testenv] commands = {envpython} --version - {env:COMMAND:coverage} run setup.py test + {env:COMMAND:coverage} run tests/settings.py deps = dj32: Django>=3.2,<4.0 dj42: Django>=4.2,<5.0