From f25040f3ab39c9df8281b4b5b1c8e3d351d9b376 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 9 Dec 2015 16:16:16 -0800 Subject: [PATCH] add RELEASE-CHECKLIST.md Signed-off-by: Victor Vieux --- RELEASE-CHECKLIST.md | 57 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 RELEASE-CHECKLIST.md diff --git a/RELEASE-CHECKLIST.md b/RELEASE-CHECKLIST.md new file mode 100644 index 0000000000..e097e4570f --- /dev/null +++ b/RELEASE-CHECKLIST.md @@ -0,0 +1,57 @@ +# Release Checklist + +### 1. Update version and CHANGELOG.md on docker/swarm + +``` +git checkout -b bump- +edit version/version.go +edit CHANGELOG.md +git add . +git commit -s -m "Bump version to " +git push $GITHUBUSER bump- +``` + +Open PR on docker/swarm + +### 2. Rebase release branch on top of master branch and tag + +``` +git checkout release +git rebase master +git push origin +git tag +git push origin +``` + +### 3. Update library image + +``` +git clone git@github.com:docker/swarm-library-image.git +cd swarm-library-image +./update.sh (example: ./update.sh v0.2.0-rc2) +check buils is successful (swarm binary should show in git diff) +git add . +git commit -s -m “" +git push origin +``` + +### 4. Update official image + +fork https://github.com/docker-library/official-images.git + +``` +git clone https://github.com/docker-library/official-images.git +cd official-images +git remote add $GITHUBUSER git@github.com:$GITHUBUSER/official-images.git +git checkout -b update_swarm_ +edit library/swarm +git add library/swarm +git commit -s -m "update swarm " +git push $GITHUBUSER update_swarm_ +``` + +Open PR on docker-library/official-images + +### 5. Create release on github + +Go to https://github.com/docker/swarm/releases/new use and changelog