diff --git a/RELEASE.rst b/RELEASE.rst new file mode 100644 index 0000000..22c0b49 --- /dev/null +++ b/RELEASE.rst @@ -0,0 +1,11 @@ +How to release +=================== + +Change version number in ``setup.py`` and ``doc/source/conf.py`` and commit it. +Make a tag like ``git tag -s v1.2.3`` + +``git push --tags`` + +./publish-release + + diff --git a/publish-release b/publish-release new file mode 100755 index 0000000..c9a62f1 --- /dev/null +++ b/publish-release @@ -0,0 +1,10 @@ +#!/bin/bash + +set -e +set -u + +ver=$(git describe --exact-match | tr -d v) + +python setup.py sdist bdist_wheel +twine upload -s dist/larigira-${ver}*.whl +twine upload -s dist/larigira-${ver}*.tar.gz