From 6d470bb715d071cc91e51bb857099d0d90182ce2 Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Tue, 27 Sep 2016 09:03:20 -0700 Subject: [PATCH] Specify git cherry-pick flags for release process. Signed-off-by: Andrew Hsu --- project/RELEASE-CHECKLIST.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/project/RELEASE-CHECKLIST.md b/project/RELEASE-CHECKLIST.md index b9dcf7f4ea..88f8313bc6 100644 --- a/project/RELEASE-CHECKLIST.md +++ b/project/RELEASE-CHECKLIST.md @@ -71,8 +71,8 @@ We cherry-pick only the commits we want into the bump branch: # get the commits ids we want to cherry-pick git log # cherry-pick the commits starting from the oldest one, without including merge commits -git cherry-pick -git cherry-pick +git cherry-pick -s -x +git cherry-pick -s -x ... ``` @@ -340,7 +340,7 @@ Each time you'll want to produce a new release candidate, you will start by adding commits to the branch, usually by cherry-picking from master: ```bash -git cherry-pick -x -m0 +git cherry-pick -s -x -m0 ``` You want your "bump commit" (the one that updates the CHANGELOG and VERSION @@ -494,7 +494,7 @@ and you can check its progress with the CDN Cloudfront Chrome addon. git checkout master git fetch git reset --hard origin/master -git cherry-pick $VERSION +git cherry-pick -s -x $VERSION git push $GITHUBUSER merge_release_$VERSION echo "https://github.com/$GITHUBUSER/docker/compare/docker:master...$GITHUBUSER:merge_release_$VERSION?expand=1" ```