bumpversion (unmaintained) → bump2version

Adrián Chaves 2020-02-28 13:53:46 +01:00
parent 60a425faac
commit abdb45c789
1 changed files with 4 additions and 4 deletions

@ -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
```