diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 31a58bd..acdc32d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,15 +3,15 @@ Changelog ######### -next -==== +0.9 (December 14, 2021) +======================= * Drop support for Django 3.0. (`#31 `_) * Support Django 3.2 and 4.0. (`#27 `_, `#31 `_) * Switch continuous integration to GitHub Actions. (`#26 `_, `#28 `_) -* Changed packaging to use setuptools declarative config in `setup.cfg`. +* Changed packaging to use setuptools declarative config in ``setup.cfg``. (`#32 `_) 0.8.1 (October 15, 2020) diff --git a/RELEASING.rst b/RELEASING.rst new file mode 100644 index 0000000..2dc39cc --- /dev/null +++ b/RELEASING.rst @@ -0,0 +1,12 @@ +Releasing django-render-block +============================= + +1. Bump the version in ``setup.cfg``, and ``CHANGELOG.rst``. +2. Double check the trove classifiers in ``setup.cfg`` (they should match the + supported Python version in ``README.rst`` and ``tox.ini``). +3. Make a git commit. +4. Create a git tag: ``git tag `` +5. Push to GitHub: ``git push origin main`` & ``git push --tags`` +6. Build the package via ``python -m build``. +7. Run twine checks: ``twine check dist/*`` +8. Upload to PyPI: ``twine upload dist/*`` diff --git a/setup.cfg b/setup.cfg index ccc51bb..e8542a3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = django-render-block -version = 0.9dev +version = 0.9 description = Render a particular block from a template to a string. long_description = file: README.rst, CHANGELOG.rst long_description_content_type = text/x-rst diff --git a/tox.ini b/tox.ini index 5070b47..4d75010 100644 --- a/tox.ini +++ b/tox.ini @@ -19,5 +19,5 @@ deps = django22: Django>=2.2,<2.3 django31: Django>=3.1,<3.2 django32: Django>=3.2,<3.3 - django40: Django>=4.0a1,<4.1 + django40: Django>=4.0,<4.1 djangomain: https://codeload.github.com/django/django/zip/main