From b7c6483cf8b074a552c7d53b608c2cf19a305dfe Mon Sep 17 00:00:00 2001 From: nfnty <git@nfnty.se> Date: Fri, 10 Feb 2017 19:44:28 +0100 Subject: release docs: Add PyPI release --- doc/howto-publish-a-release.txt | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/doc/howto-publish-a-release.txt b/doc/howto-publish-a-release.txt index 53187db1..089a3343 100644 --- a/doc/howto-publish-a-release.txt +++ b/doc/howto-publish-a-release.txt @@ -3,17 +3,26 @@ (x) * ./ranger.py [--clean] ( ) * ranger/ext/rifle.py ( ) * make install + ( ) make a release commit: ( ) * update the number in the README -( ) * update the number in ranger/__init__.py -( ) * update the version number in ranger/ext/rifle.py -( ) * rebuild the man page with the updated number +( ) * update __version__ and VERSION in ranger/__init__.py +( ) * update __version__ in ranger/ext/rifle.py +( ) * make man ( ) * write changelog entry ( ) * think of a witty commit message -( ) * change VERSION in ranger/__init__.py to something with "stable" ( ) * push the commit + +( ) make a PyPI release: +( ) * `git clean --force -d -x` +( ) * `python setup.py sdist` +( ) * `gpg --default-key 'YOUREMAIL' --detach-sign --armor dist/*` +( ) * `twine upload dist/*` + ( ) build .tar.gz with "make snapshot" + ( ) make, make install and test the snapshot one last time + ( ) update the website: ( ) * add the new version as ranger-stable.tar.gz ( ) * add the new version as ranger-X.Y.Z.tar.gz @@ -21,7 +30,10 @@ ( ) * update the changelog ( ) * update the man page ( ) * rerun boobies.py + ( ) announce the update ( ) * to the mailing list ( ) * in the arch linux forum ( ) * write a news entry on savannah + +( ) Change VERSION in ranger/__init__.py back to `master` -- cgit 1.4.1-2-gfad0