Skip to content

Commit e51027b

Browse files
authored
Merge pull request #58 from scrapinghub/add-bumpversion
Add .bumpversion.cfg
2 parents 5fcef39 + 842e521 commit e51027b

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
lines changed

.bumpversion.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[bumpversion]
2+
current_version = 0.10.0
3+
commit = True
4+
tag = True
5+
tag_name = {new_version}
6+
7+
[bumpversion:file:scrapyrt/VERSION]
8+

README.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ making requests with spiders.
1919

2020
Allows you to easily add HTTP API to your existing Scrapy project. All Scrapy project
2121
components (e.g. middleware, pipelines, extensions) are supported out of the box. You
22-
simply run Scrapyrt in Scrapy project directory and it starts HTTP server allowing you
22+
simply run Scrapyrt in Scrapy project directory and it starts HTTP server allowing you
2323
to schedule your spiders and get spider output in JSON format.
2424

2525

@@ -39,3 +39,17 @@ Commercial support is also available by `Scrapinghub`_.
3939

4040
.. _create a question issue: https://github.com/scrapinghub/scrapyrt/issues/new?labels=question
4141
.. _Scrapinghub: http://scrapinghub.com
42+
43+
Development
44+
===========
45+
46+
Release
47+
-------
48+
49+
Use `bumpversion`_ tool, e.g. to release minor version do::
50+
51+
bumpversion minor --verbose
52+
git push origin master
53+
git push origin <new_version_tag>
54+
55+
.. _bumpversion: https://pypi.python.org/pypi/bumpversion

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
bumpversion==0.5.3
22
fabric
33
requests==2.9.1
44
mock==1.3.0

scrapyrt/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.10
1+
0.10.0

0 commit comments

Comments
 (0)