diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index b9ef95c..800a2ae 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -5,6 +5,12 @@ Changelog Versions ======== +2.7.3 +----- + +- fix: removed console.log calls (#176) +- doc: documented how to release a new version + 2.7.2 ----- diff --git a/docs/source/index.rst b/docs/source/index.rst index 7dc17aa..a08c7de 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -19,6 +19,7 @@ Contents tutorials settings formfields + releasing changelog diff --git a/docs/source/releasing.rst b/docs/source/releasing.rst new file mode 100644 index 0000000..7f03053 --- /dev/null +++ b/docs/source/releasing.rst @@ -0,0 +1,30 @@ +*********************** +Releasing a new version +*********************** + +Steps +===== + +1. Remove previous build directories + +.. code:: shell + + rm -rf build dist + +2. Update the version number in ``location_field/__init__.py`` + +3. Push changes to GitHub (Pull Request) + +4. Create a new release on GitHub + +5. Build the package + +.. code:: shell + + python -m build + +6. Upload the package to PyPI + +.. code:: shell + + python -m twine upload dist/* diff --git a/location_field/__init__.py b/location_field/__init__.py index 32cec3d..705658b 100755 --- a/location_field/__init__.py +++ b/location_field/__init__.py @@ -1,3 +1,3 @@ -__version__ = "2.7.2" +__version__ = "2.7.3" default_app_config = "location_field.apps.DefaultConfig"