Build documentation and then commit changes:
$ cd docs $ sphinx-apidoc -f -o _source -e ../mapmaker $ make html
Update
__version__
inmapmaker/__init__.py
andpyproject.toml
.Update the package name in
README.rst
to reflect the new version.Update
README.rst
with any changed usage instructions.Commit
mapmaker/__init__.py
,README.rst
andpyproject.toml
.With the new version identifier:
$ git tag VERSION $ git push origin $ git push origin VERSION # We don't want untracked files bundled into the release $ git stash --include-untracked $ poetry build --format wheel $ git stash pop
On Github, at https://github.com/dbrnz/flatmap-maker/releases/new, create a release using the new VERSION tag and upload the generated wheel to it.
Update
__version__
inmapmaker/__init__.py
to reflect we are now back in development mode.