File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ Releasing remote server
2
+ =======================
3
+
4
+ 1. Set ``$VERSION `` shell variable to ease copy-pasting further commands::
5
+
6
+ VERSION=x.y
7
+
8
+ 2. Update ``__version__ `` in `<src/robotremoteserver.py >`__::
9
+
10
+ # Linux (GNU sed):
11
+ sed -i "s/__version__ = .*/__version__ = '$VERSION'/" src/robotremoteserver.py
12
+ # OS X (BSD sed):
13
+ sed -i "" "s/__version__ = .*/__version__ = '$VERSION'/" src/robotremoteserver.py
14
+ # Verify changes and commit:
15
+ git diff
16
+ git commit -m "Updated __version__ to $VERSION" src/robotremoteserver.py && git push
17
+
18
+ 3. Tag::
19
+
20
+ git tag -a $VERSION -m "Release $VERSION" && git push --tags
21
+
22
+ 4. Create distribution::
23
+
24
+ python setup.py sdist register upload
25
+
26
+ 5. Verify that `PyPI page <https://pypi.python.org/pypi/robotremoteserver >`__
27
+ looks good.
28
+
29
+ 6. Test that installation works::
30
+
31
+ pip install robotremoteserver --upgrade
32
+
33
+ 7. ``__version__ `` back to devel::
34
+
35
+ # Linux (GNU sed):
36
+ sed -i "s/__version__ = .*/__version__ = 'devel'/" src/robotremoteserver.py
37
+ # OSX (BSD sed):
38
+ sed -i "" "s/__version__ = .*/__version__ = 'devel'/" src/robotremoteserver.py
39
+ # Verify changes and commit:
40
+ git diff
41
+ git commit -m "__version__ back to devel" src/robotremoteserver.py && git push
42
+
43
+ 8. Advertise on `Twitter <https://twitter.com/robotframework >`__ and on mailing
44
+ lists as needed.
You can’t perform that action at this time.
0 commit comments