Skip to content

Commit 0fc6931

Browse files
committed
Adding how to release in readme.
1 parent e02b8c8 commit 0fc6931

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.rst

+16
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,22 @@ Several form mixins are provided to cover frequent use cases:
106106

107107
See "mixin" documentation for details.
108108

109+
*******
110+
Release
111+
*******
112+
113+
To prepare a new version:
114+
115+
* Create a branch named ``release/<version>``
116+
* In a commit, change the ``CHANGELOG`` and ``VERSION`` file to remove the ``.dev0`` and set the date of the release
117+
* In a second commit, change the ``VERSION`` to the next version number + ``.dev0``
118+
* Create a PR for your branch
119+
* When the PR is merged, tag the first commit with the version number, and create a github release using the ``CHANGELOG``
120+
121+
To release a new version (including the wheel)::
122+
123+
pip install wheel
124+
python setup.py sdist bdist_wheel upload
109125

110126
**********
111127
Ressources

0 commit comments

Comments
 (0)