Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,4 @@ If you'd like to help out, here's some material to help you get started! | |
.. toctree:: | ||
|
||
contributing | ||
release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
=============== | ||
Releasing Klein | ||
=============== | ||
|
||
Klein is released on a time-dependent basis, similar to Twisted. | ||
|
||
Each version is numbered with the major portion being the last two digits of the year, and the minor portion being the zero-indexed release number. | ||
That is, the first release of 2016 would be 16.0, and the second would be 16.1. | ||
|
||
|
||
Doing a Release | ||
--------------- | ||
|
||
#. Clear the directory of any other changes using ``git clean -f -x -d .`` | ||
#. Generate the tarball and wheel using ``python setup.py sdist bdist_wheel``. | ||
#. Upload the tarball and wheel using ``twine upload dist/klein-*``. | ||
#. Tag the release using ``git tag -s <release> -m "Tag <release> release"`` | ||
#. Push up the tag using ``git push --tags``. |