Updated Scrapy release procedure (markdown)

Daniel Graña 2013-05-30 14:50:54 -07:00
parent 4ffcd66e5f
commit ed3e820ccd
1 changed files with 7 additions and 6 deletions

@ -52,16 +52,17 @@ Assuming we are releasing `0.16.5`:
```bash
$ git checkout 0.16
# Edit `scrapy/__init__.py` and modify version to `0.16.5`
$ git commit -a -m "bumped version to 0.16.5"
# Edit `scrapy/__init__.py` and modify version to `0.16.6`
$ git add scrapy/__init__.py
$ git commit -a -m "bumped version to 0.16.6"
# Add version, release date and changes to `docs/news.rst`
$ git log '--format=- %s (:commit:`%h`)' 0.16.4..0.16 # update docs/news.rst
$ git log '--format=- %s (:commit:`%h`)' 0.16.5..0.16 # update docs/news.rst
$ git add docs/news.rst
$ git commit -m 'Add 0.16.5 release notes'
$ git commit -m 'Add 0.16.6 release notes'
# Tag 0.16.4 and push
$ git tag -a -m "version 0.16.5" 0.16.5
# Tag 0.16.6 and push
$ git tag -a -m "version 0.16.6" 0.16.6
$ git push origin 0.16 --tags
# It triggers scrapy-0.16 builder and publish pypi sources and debian packages automatically