提交 67013a8a authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Update the instructions on how to do a release.

上级 0a23b129
...@@ -28,14 +28,8 @@ It does not have to be in your PYTHONPATH. ...@@ -28,14 +28,8 @@ It does not have to be in your PYTHONPATH.
Update the version number Update the version number
========================= =========================
Edit ``setup.py`` to contain the newest version number ::
cd Theano-0.X
vi setup.py # Edit the MAJOR, MINOR, MICRO and SUFFIX
``Theano/doc/conf.py`` should be updated in the following ways: ``Theano/doc/conf.py`` should be updated in the following ways:
* Change the ``version`` and ``release`` variables to new version number.
* Change the upper copyright year to the current year if necessary. * Change the upper copyright year to the current year if necessary.
Update the year in the ``Theano/LICENSE.txt`` file too, if necessary. Update the year in the ``Theano/LICENSE.txt`` file too, if necessary.
...@@ -54,7 +48,7 @@ You will need to commit the previous changes, tag the resulting version, and ...@@ -54,7 +48,7 @@ You will need to commit the previous changes, tag the resulting version, and
push that into the original repository. The syntax is something like the push that into the original repository. The syntax is something like the
following:: following::
git commit -m "Modifications for 0.X.Y release" setup.py doc/conf.py NEWS.txt HISTORY.txt theano/configdefaults.py doc/library/config.txt git commit -m "Modifications for 0.X.Y release" doc/conf.py NEWS.txt HISTORY.txt theano/configdefaults.py doc/library/config.txt
git tag -a rel-0.X.Y git tag -a rel-0.X.Y
git push git push
git push --tags git push --tags
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论