Setup
git clone git@github.com:oslokommune/okdata-sdk-python.git
cd okdata-sdk-python
python3 -m venv .venv
source .venv/bin/activate
make init
Run all tests:
$ make test
Reformat files:
make format
- Checkout the
mainbranch - Either run
make
or manually run the make targets:
- Test
make clean test
- Bump version and build
make bump-patch build
- Publish the module to PyPI
make publish-module
- Push the version bump commit and the generated tag to GitHub.
git push
git push --tags
- Create new release in github.
- Go to https://github.com/oslokommune/okdata-sdk-python/tags
- On the latest tag, click on
...->Create release - Fill out
Title-field with the new release version. Fill outWrite-field with value (bullet points) from latest release in CHANGELOG - Click
Publish release