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/release_procedure.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/source/contrib/release_procedure.rst (limited to 'docs/source/contrib/release_procedure.rst') 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