Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 768 Bytes

File metadata and controls

46 lines (31 loc) · 768 Bytes

Development

Releasing a new version

Documentation is the first step on the road to automation. 😊

Follow these steps in order.

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

Release on GitHub

  1. Download artifacts from GitHub: rm -rf dist && ./download-artifact.sh <tag> This will create a dist/ directory.
  2. Create release from tag and write notes
  3. Attach files in /path/to/dist
  4. Publish

Release on PyPI

  1. Upload artifacts

    uvx twine upload dist/*

Cleanup

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