Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 923 Bytes

RELEASING.md

File metadata and controls

54 lines (43 loc) · 923 Bytes

Releasing pyamsd

  • Do platform test via tox:
tox -r
  • Make sure flake8 passes:
flake8 src
  • Update the version number, by removing the trailing .dev0 in:

    • setup.py
    • src/pyamsd/__init__.py
  • Create the release commit:

git commit -a -m "release <VERSION>"
  • Create a release tag:
git tag -a v<VERSION> -m"<VERSION> release"
rm dist/*
python setup.py sdist
twine upload dist/*
rm dist/*
python setup.py bdist_wheel
twine upload dist/*
  • Push to github:
git push origin
git push --tags
  • Change version for the next release cycle, i.e. incrementing and adding .dev0

    • setup.py
    • src/pyamsd/__init__.py
  • Commit/push the version change:

git commit -a -m "bump version for development"
git push origin