diff --git a/Scrapy-release-procedure.md b/Scrapy-release-procedure.md index add361b..d292799 100644 --- a/Scrapy-release-procedure.md +++ b/Scrapy-release-procedure.md @@ -2,7 +2,7 @@ This page outlines the procedure used to release a new version of Scrapy. -You will need [bumpversion](https://pypi.python.org/pypi/bumpversion) installed. +You will need [bump2version](https://pypi.python.org/pypi/bump2version) installed. ## Release notes @@ -28,7 +28,7 @@ If you are releasing major version `1.0.0`: git checkout master git pull --ff-only upstream master git log -1 # Check that the last commit is the release notes update -bumpversion major +bump2version major git checkout -b 1.0 git push upstream master 1.0 1.0.0 ``` @@ -39,7 +39,7 @@ If you are releasing minor version `1.2.0`: git checkout master git pull --ff-only upstream master git log -1 # Check that the last commit is the release notes update -bumpversion minor +bump2version minor git checkout -b 1.2 git push upstream master 1.2 1.2.0 ``` @@ -50,7 +50,7 @@ If you are releasing patch version `1.2.3`: git checkout 1.2 git pull --ff-only upstream 1.2 git log -1 # Check that the last commit is the release notes update -bumpversion patch +bump2version patch git push upstream 1.2 1.2.3 ```