Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 808 Bytes

DEVELOPMENT.md

File metadata and controls

37 lines (28 loc) · 808 Bytes

Releasing a new version

Notes from the last release process. Documentation is the first step on the road to automation. 😊

1. Create new build on GitHub

  1. Update json-store/__init__.py with new version.
  2. Tag the commit
    git tag -s v3.2
  3. Push commit and push tag
    git push --atomic origin main v3.2

2. Release on GitHub

  1. Download artifacts from GitHub workflow. This will create a dist/ directory.
  2. Create release from tag and write notes
  3. Attach files in /path/to/dist
  4. Publish

3. Release on PyPI

  1. Upload artifacts
    uvx twine upload /path/to/dist/*

4. Cleanup

rm -rf /path/to/dist
git clean -Xd -n  # check for the unexpected
git clean -Xd -f