To release a new version of the script, the following steps are necessary:
-
Update the Changelog
-
Increase the application version according the Semantic Versioning
- Update the
__version__
indb_sync_tool/info.py
- Update the
"version"
incomposer.json
- Update the
-
Generate a new distribution archive (see python.org)
- Optionally: install the latest version of
setuptools
andwheel
:
$ python3 -m pip install --user --upgrade setuptools wheel
- Generate the archive:
$ python3 setup.py sdist bdist_wheel
- Optionally: install the latest version of
-
Upload the distribution archive to pypi.org (see python.org)
- Optionally: install
twine
for the upload:
$ python3 -m pip install --user --upgrade twine
- Upload the archive:
$ python3 -m twine upload dist/*
- Optionally: install
-
Create a new Git Tag with the new version
$ git tag v1.4
-
Push the commit to the github repository