To release a new version:
- Update CHANGELOG.md
- Bump version
- Test!
- Add a tag and push it to upstream
- Publish the release on github
Look through the list of recently closed pull requests. For each pull-request, run:
release/summarize_pr.py {prid}
and copy-paste the result into CHANGELOG.md
Do this in two places:
- sqlitedict.py
- setup.py
Run:
pytest tests
All tests should pass.
Run:
git tag v{version}
git push origin --tags
The leading "v" is important, our CI will use that to identify the release. Once the tag is uploaded to github, CI will take care of everything, including uploading the release to PyPI.
- Go to https://github.com/RaRe-Technologies/sqlitedict/releases/new
- Select the tag for the latest releases
- Click on "autogenerate change log"