Skip to content

Commit

Permalink
bump: 2.7.3 (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
caioariede committed Nov 21, 2023
1 parent 6c99c78 commit 99d95f8
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Contents
tutorials
settings
formfields
releasing
changelog


Expand Down
30 changes: 30 additions & 0 deletions docs/source/releasing.rst
Original file line number Diff line number Diff line change
@@ -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/*
2 changes: 1 addition & 1 deletion location_field/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "2.7.2"
__version__ = "2.7.3"

default_app_config = "location_field.apps.DefaultConfig"

0 comments on commit 99d95f8

Please sign in to comment.