File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,44 @@ Use ``paver`` to run common project tasks::
62
62
paver coverage
63
63
64
64
65
+ Performing a Release
66
+ --------------------
67
+
68
+ #. Check Travis CI status at https://travis-ci.org/pyroscope/pyrobase
69
+
70
+ #. Check for and fix ``pylint `` violations::
71
+
72
+ paver lint -m
73
+
74
+ #. Verify ``debian/changelog `` for completeness and the correct version, and bump the release date::
75
+
76
+ dch -r
77
+
78
+ #. Remove ‘dev’ version tagging from ``setup.cfg ``, and perform a release check::
79
+
80
+ sed -i -re 's/^(tag_[a-z ]+=)/##\1/' setup.cfg
81
+ paver release
82
+
83
+ #. Commit and tag the release::
84
+
85
+ git status # check all is committed
86
+ tag="v$(dpkg-parsechangelog | grep '^Version:' | awk '{print $2}')"
87
+ git tag -a "$tag" -m "Release $tag"
88
+
89
+ #. Build the final release and upload it to PyPI::
90
+
91
+ paver sdist bdist_wheel
92
+ twine upload dist/*.{zip,whl}
93
+
94
+ #. Create the ZIP file with the API documentation::
95
+
96
+ paver dist_docs
97
+
98
+ #. Upload the docs from the ``dist `` directory to ``pythonhosted.org ``::
99
+
100
+ xdg-open "https://pypi.python.org/pypi?%3Aaction=pkg_edit&name=pyrobase" &
101
+
102
+
65
103
Acknowledgements
66
104
----------------
67
105
You can’t perform that action at this time.
0 commit comments