From 83606e28d559c1ca4928b08aa4c050872e806cfa Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 8 Oct 2020 20:44:39 +0200 Subject: Contrib documentation: release procedure --- docs/source/contrib/index.rst | 1 + docs/source/contrib/release_procedure.rst | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 docs/source/contrib/release_procedure.rst (limited to 'docs/source/contrib') 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 + -- cgit v1.2.3