Updated Scrapy release procedure (markdown)

Daniel Graña 2015-07-01 01:50:50 -03:00
parent 82d1ace8d8
commit 9049bd8909
1 changed files with 3 additions and 3 deletions

@ -73,17 +73,17 @@ $ git push origin master
## Micro/bugfix releases
Assuming we are releasing `1.0.1`:
Assuming we are releasing `1.0.2`:
```bash
$ git checkout 1.0
# 1.0: 1.0.0 to 1.0.1 (Use --serialize to avoid the 1.0.1dev1 version)
# 1.0: 1.0.1 to 1.0.2 (Use --serialize to avoid the 1.0.2dev1 version)
$ bumpversion patch --serialize "{major}.{minor}.{patch}"
# Add version, release date and changes to `docs/news.rst`
$ git log '--format=- %s (:commit:`%h`)' 1.0.1...1.0 # update docs/news.rst
$ git add docs/news.rst
$ git commit -m 'Add 1.0.1 release notes'
$ git commit -m 'Add 1.0.2 release notes'
$ git push origin 1.0 --tags
# Checkout master and cherry pick `docs/news.rst` changes.