From abdb45c789fcf78a0fab78bb134cddcd8d6b4acd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Fri, 28 Feb 2020 13:53:46 +0100 Subject: [PATCH] =?UTF-8?q?bumpversion=20(unmaintained)=20=E2=86=92=20bump?= =?UTF-8?q?2version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scrapy-release-procedure.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ```