@@ -3,9 +3,9 @@ Releasing remote server
3
3
4
4
0. Run tests on different operating systems and with different interpreters::
5
5
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
9
9
10
10
Above commands run both unit and acceptance tests. See `<test/README.rst>`__
11
11
for more details.
@@ -16,42 +16,42 @@ Releasing remote server
16
16
17
17
1. Set ``$VERSION `` shell variable to ease copy-pasting further commands::
18
18
19
- VERSION=x.y
19
+ VERSION=x.y
20
20
21
21
2. Update ``__version__ `` in `<src/robotremoteserver.py >`__::
22
22
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
30
30
31
31
3. Tag::
32
32
33
- git tag -a $VERSION -m "Release $VERSION" && git push --tags
33
+ git tag -a $VERSION -m "Release $VERSION" && git push --tags
34
34
35
35
4. Create distribution::
36
36
37
- python setup.py sdist register upload
37
+ python setup.py sdist register upload
38
38
39
39
5. Verify that `PyPI page <https://pypi.python.org/pypi/robotremoteserver >`__
40
40
looks good.
41
41
42
42
6. Test that installation works::
43
43
44
- pip install robotremoteserver --upgrade
44
+ pip install robotremoteserver --upgrade
45
45
46
46
7. ``__version__ `` back to devel::
47
47
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
55
55
56
56
8. Advertise on `Twitter <https://twitter.com/robotframework >`__ and on mailing
57
57
lists as needed.
0 commit comments