From f8f41e3162b267b0d39ba8a67156a221c76c495c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Fri, 24 Apr 2020 16:03:36 +0200 Subject: [PATCH] Updated Scrapy release procedure (markdown) --- Scrapy-release-procedure.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Scrapy-release-procedure.md b/Scrapy-release-procedure.md index 0921987..4d26fb1 100644 --- a/Scrapy-release-procedure.md +++ b/Scrapy-release-procedure.md @@ -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