blob: e52c27282ed3033459894b9374ef7ec9e21abddf [file] [log] [blame]
Alex Gaynor89063f62014-01-06 15:52:38 -08001Doing a Release
2===============
3
4Doing a release of ``cryptography`` is a two part process.
5
6Bumping the version number
7--------------------------
8
9The first step in doing a release is bumping the version number in the
10software.
11
Alex Gaynorce0b5a32014-01-06 16:53:31 -080012* Update the version number in ``cryptography/__about__.py``.
Alex Gaynor89063f62014-01-06 15:52:38 -080013* Do a commit indicating this.
14* Send a pull request with this.
15* Wait for it to be merged.
16
17Performing the release
18----------------------
19
20The commit which merged the version number bump is now the official release
Alex Gaynorb3794db2014-01-07 09:25:54 -080021commit for this release. You will need to have ``gpg`` installed and a ``gpg``
22key in order to do a release. Once this has happened:
Alex Gaynor89063f62014-01-06 15:52:38 -080023
24* Run ``invoke release {version}``.
25
Alex Gaynorfea893c2014-01-07 11:06:51 -080026The release should now be available on PyPI and a tag should be available in
27the repository. You should verify that ``pip install cryptography`` works
28correctly.