From 9b6c648c7008632b9077b4612bc0486fcad1ffae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Tue, 27 Aug 2013 14:54:34 -0700 Subject: [PATCH] Updated Scrapy release procedure (markdown) --- Scrapy-release-procedure.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Scrapy-release-procedure.md b/Scrapy-release-procedure.md index be76928..9251041 100644 --- a/Scrapy-release-procedure.md +++ b/Scrapy-release-procedure.md @@ -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