Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 840 Bytes

RELEASE.md

File metadata and controls

25 lines (18 loc) · 840 Bytes

Release

Prerequisites

  1. install npm, twine, build

  2. login to npm: npm login

  3. setup ~/.pypirc to login to pypi reposotory

  4. remove all untracked files: git clean -fdx

  5. bump versions in ./package.json, ./ipylabel/_version.py and ./ipylabel/_frontend.py

  6. build widget: pip install -e ".[test, examples]" and npm run build

  7. commit changes (f"chore: bump versions to {current_version}") with tag equal to current version (f"v{current_version}")

  8. create tag git tag -s -a v{current_version} -m "chore: bump versions to {current_version}"

  9. push everything git push origin --follow-tags

  10. release to npm: npm publish

  11. release to Pypi

  python -m build
  twine check dist/ipylabel*
  twine upload dist/ipylabel*