Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 987 Bytes

MAINTAINING.rst

File metadata and controls

32 lines (25 loc) · 987 Bytes

Maintaining nixnet

Cutting a release

Update the version

  1. nixnet/VERSION
  2. README.rst
  3. Create release notes (clog-cli can help)
  4. git clean -ndx to see what files to clean up
  5. git clean -fdx to clean up files
  6. Include release notes in commit messaage
  7. Publish a PR

Tagging a release

  1. (on main) git tag -a v<X>.<Y>.<Z> with the release notes as the message
  2. git push <UPSTREAM> main --tag v<X>.<Y>.<Z>
  3. Go to https://github.com/ni/nixnet-python/releases
  4. The new release should be there, but it will be poorly formatted.
  5. Draft a new release. Use the same tag version. You don't need to attach any new files.

Uploading packages to PyPI

  1. rm -Rf dist
  2. python setup.py sdist
  3. pip install wheel
  4. python setup.py bdist_wheel --universal
  5. pip install twine
  6. twine upload dist/* -u <PyPI username> -p <PyPI password>