Updated Scrapy release procedure (markdown)

Daniel Graña 2013-08-27 14:54:34 -07:00
parent 90f8d93d06
commit 9b6c648c70
1 changed files with 9 additions and 9 deletions

@ -52,19 +52,19 @@ Assuming we are releasing `0.18.1`:
```bash
$ git checkout 0.18
# Edit `scrapy/__init__.py` and modify version to `0.18.1`
$ git add scrapy/__init__.py
$ git commit -a -m "bumped version to 0.18.1"
# Edit `scrapy/VERSION` and modify version to `0.18.2`
$ git add scrapy/VERSION
$ git commit -m "bumped version to 0.18.2"
# Add version, release date and changes to `docs/news.rst`
$ git log '--format=- %s (:commit:`%h`)' 0.18.0...0.18.1 # update docs/news.rst
$ git log '--format=- %s (:commit:`%h`)' 0.18.1...0.18 # update docs/news.rst
$ git add docs/news.rst
$ git commit -m 'Add 0.18.1 release notes'
$ git commit -m 'Add 0.18.2 release notes'
# Tag 0.20.1 and push
$ git tag -a -m "version 0.18.1" 0.18.1
$ git push origin 0.20 --tags
# It triggers scrapy-0.20 builder and publish pypi sources and debian packages automatically
# Tag 0.18.2 and push
$ git tag -a -m "version 0.18.2" 0.18.2
$ git push origin 0.18 --tags
# It triggers scrapy-0.18 builder and publish pypi sources and debian packages automatically
# Checkout master and cherry pick `docs/news.rst` changes.
$ git checkout master