diff options
-rw-r--r-- | docs/source/contrib/index.rst | 1 | ||||
-rw-r--r-- | docs/source/contrib/release_procedure.rst | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/docs/source/contrib/index.rst b/docs/source/contrib/index.rst index 70d1e1c..e536cf3 100644 --- a/docs/source/contrib/index.rst +++ b/docs/source/contrib/index.rst @@ -8,3 +8,4 @@ Documentation that is useful for contributors of lesana. :maxdepth: 2 :caption: Contents: + release_procedure diff --git a/docs/source/contrib/release_procedure.rst b/docs/source/contrib/release_procedure.rst new file mode 100644 index 0000000..f54ed9f --- /dev/null +++ b/docs/source/contrib/release_procedure.rst @@ -0,0 +1,22 @@ +******************* + Release procedure +******************* + +* Check that the version number in setup.py is correct. + +* Check that the changelog is up to date. + +* Generate the distribution files:: + + $ python3 setup.py sdist bdist_wheel + +* Upload :: + + $ twine upload -s dist/* + +* Tag the uploaded version:: + + $ git tag -s v$VERSION -m "Version $VERSION" + $ git push + $ git push --tags + |