Skip to content

Commit 989d864

Browse files
committed
BUILD.rst: Indent code a bit more to make source easier to read.
1 parent 122f2d5 commit 989d864

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

BUILD.rst

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Releasing remote server
33

44
0. 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

1717
1. Set ``$VERSION`` shell variable to ease copy-pasting further commands::
1818

19-
VERSION=x.y
19+
VERSION=x.y
2020

2121
2. 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

3131
3. 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

3535
4. Create distribution::
3636

37-
python setup.py sdist register upload
37+
python setup.py sdist register upload
3838

3939
5. Verify that `PyPI page <https://pypi.python.org/pypi/robotremoteserver>`__
4040
looks good.
4141

4242
6. Test that installation works::
4343

44-
pip install robotremoteserver --upgrade
44+
pip install robotremoteserver --upgrade
4545

4646
7. ``__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

5656
8. Advertise on `Twitter <https://twitter.com/robotframework>`__ and on mailing
5757
lists as needed.

0 commit comments

Comments
 (0)