Skip to content

Latest commit

 

History

History
26 lines (25 loc) · 776 Bytes

RELEASE.md

File metadata and controls

26 lines (25 loc) · 776 Bytes

Releasing your initial packages:

  • Add tests
  • Ensure tests pass locally and on CI. Check that the coverage is reasonable.
  • Make a release commit, where you remove the , 'dev' entry in _version.py.
  • Update the version in package.json
  • Relase the npm packages:
    npm login
    npm publish
  • Install publish dependencies:
pip install build twine
  • Build the assets and publish
    python -m build .
    twine check dist/*
    twine upload dist/*
  • Tag the release commit (git tag <python package version identifier>)
  • Update the version in _version.py, and put it back to dev (e.g. 0.1.0 -> 0.2.0.dev). Update the versions of the npm packages (without publishing).
  • Commit the changes.
  • git push and git push --tags.