@@ -3,9 +3,9 @@ Releasing remote server
33
440. Run tests on different operating systems and with different interpreters::
55
6- python test/run.py python
7- python test/run.py jython # use jython.bat on windows
8- python test/run.py ipy # some tests fail due to unicode/str issues
6+ python test/run.py python
7+ python test/run.py jython # use jython.bat on windows
8+ python test/run.py ipy # some tests fail due to unicode/str issues
99
1010 Above commands run both unit and acceptance tests. See `<test/README.rst>`__
1111 for more details.
@@ -16,42 +16,42 @@ Releasing remote server
1616
17171. Set ``$VERSION `` shell variable to ease copy-pasting further commands::
1818
19- VERSION=x.y
19+ VERSION=x.y
2020
21212. Update ``__version__ `` in `<src/robotremoteserver.py >`__::
2222
23- # Linux (GNU sed):
24- sed -i "s/__version__ = .*/__version__ = '$VERSION'/" src/robotremoteserver.py
25- # OS X (BSD sed):
26- sed -i "" "s/__version__ = .*/__version__ = '$VERSION'/" src/robotremoteserver.py
27- # Verify changes and commit:
28- git diff
29- git commit -m "Updated __version__ to $VERSION" src/robotremoteserver.py && git push
23+ # Linux (GNU sed):
24+ sed -i "s/__version__ = .*/__version__ = '$VERSION'/" src/robotremoteserver.py
25+ # OS X (BSD sed):
26+ sed -i "" "s/__version__ = .*/__version__ = '$VERSION'/" src/robotremoteserver.py
27+ # Verify changes and commit:
28+ git diff
29+ git commit -m "Updated __version__ to $VERSION" src/robotremoteserver.py && git push
3030
31313. Tag::
3232
33- git tag -a $VERSION -m "Release $VERSION" && git push --tags
33+ git tag -a $VERSION -m "Release $VERSION" && git push --tags
3434
35354. Create distribution::
3636
37- python setup.py sdist register upload
37+ python setup.py sdist register upload
3838
39395. Verify that `PyPI page <https://pypi.python.org/pypi/robotremoteserver >`__
4040 looks good.
4141
42426. Test that installation works::
4343
44- pip install robotremoteserver --upgrade
44+ pip install robotremoteserver --upgrade
4545
46467. ``__version__ `` back to devel::
4747
48- # Linux (GNU sed):
49- sed -i "s/__version__ = .*/__version__ = 'devel'/" src/robotremoteserver.py
50- # OSX (BSD sed):
51- sed -i "" "s/__version__ = .*/__version__ = 'devel'/" src/robotremoteserver.py
52- # Verify changes and commit:
53- git diff
54- git commit -m "__version__ back to devel" src/robotremoteserver.py && git push
48+ # Linux (GNU sed):
49+ sed -i "s/__version__ = .*/__version__ = 'devel'/" src/robotremoteserver.py
50+ # OSX (BSD sed):
51+ sed -i "" "s/__version__ = .*/__version__ = 'devel'/" src/robotremoteserver.py
52+ # Verify changes and commit:
53+ git diff
54+ git commit -m "__version__ back to devel" src/robotremoteserver.py && git push
5555
56568. Advertise on `Twitter <https://twitter.com/robotframework >`__ and on mailing
5757 lists as needed.
0 commit comments