From 88b3109137d8c226dd38e0c237d1ef8810fceb23 Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Tue, 22 Aug 2017 21:03:03 -0700 Subject: [PATCH] change backport branch creation steps --- docs/development/releasing.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/development/releasing.md b/docs/development/releasing.md index 20665249094b..c492896f28c3 100644 --- a/docs/development/releasing.md +++ b/docs/development/releasing.md @@ -5,14 +5,14 @@ This document describes the process for releasing a new version of Electron. ## Create a backport branch If you're about release a new major or minor version of Electron like `1.8.0`, -`1.9.0`, or `2.0.0`, first create a branch of `master` for later backports: +`1.9.0`, or `2.0.0`, first create a branch from the most recent minor release +for later backports: -Assuming you're about to publish `1.8.0`: +Assuming you're about to publish `1.8.0`, and the highest `1.7` release was +`1.7.6`: ```sh -git checkout master -git pull -git checkout -b 1-7-x +git checkout -b 1-7-x v1.7.6 git push origin HEAD ```