Updated Scrapy release procedure (markdown)

Adrián Chaves 2020-04-24 16:03:36 +02:00
parent d8a7354053
commit f8f41e3162
1 changed files with 10 additions and 10 deletions

@ -22,36 +22,36 @@ and merged into the target branch.
the `upstream` remote in your local clone, which you can do with:
`git remote add upstream git@github.com:scrapy/scrapy.git`
If you are releasing major version `1.0.0`:
If you are releasing major version `x.0.0`:
```bash
git checkout master
git pull --ff-only upstream master
git log -1 # Check that the last commit is the release notes update
bump2version major
git checkout -b 1.0
git push upstream master 1.0 1.0.0
git checkout -b x.0
git push upstream master x.0 x.0.0
```
If you are releasing minor version `1.2.0`:
If you are releasing minor version `x.y.0`:
```bash
git checkout master
git pull --ff-only upstream master
git log -1 # Check that the last commit is the release notes update
bump2version minor
git checkout -b 1.2
git push upstream master 1.2 1.2.0
git checkout -b x.y
git push upstream master x.y x.y.0
```
If you are releasing patch version `1.2.3`:
If you are releasing patch version `x.y.z`:
```bash
git checkout 1.2
git pull --ff-only upstream 1.2
git checkout x.y
git pull --ff-only upstream x.y
git log -1 # Check that the last commit is the release notes update
bump2version patch
git push upstream 1.2 1.2.3
git push upstream x.y x.y.z
```
## Python Package Index