xlcnd / isbnlib

python library to validate, clean, transform and get metadata of ISBN strings (for devs).
Other
229 stars 30 forks source link

Instructions for release #128

Open xlcnd opened 1 year ago

xlcnd commented 1 year ago

Instructions for release

Requirements:

  1. Github account
  2. PYPI account
  3. pip, wheel and twine must be installed

Github:

A. Check setup.py and see if version and links are in sync!

B. Tag and push to github:

  1. Edit CHANGES.txt and add version, date and small description (e.g. v0.0.1, 2018-03-08 -- Initial alpha release.)
  2. git tag -a vVERSION -m "small description) (e.g. git tag -a v0.0.1 -m "Initial alpha release")
  3. git push origin master
  4. git push origin v0.0.1 (adapt!)

PYPI:

  1. python setup.py check -s
  2. python setup.py sdist bdist_wheel
  3. twine check dist/*
  4. twine upload dist/* -u UN -p PW (UN, PW are the credentials of your PYPI account)