Merge pull request #1523 from vieux/release_checklist

add RELEASE-CHECKLIST.md
This commit is contained in:
Dongluo Chen 2015-12-11 15:25:25 -08:00
commit 982c568991
1 changed files with 57 additions and 0 deletions

57
RELEASE-CHECKLIST.md Normal file
View File

@ -0,0 +1,57 @@
# Release Checklist
### 1. Update version and CHANGELOG.md on docker/swarm
```
git checkout -b bump-<version>
edit version/version.go
edit CHANGELOG.md
git add .
git commit -s -m "Bump version to <version>"
git push $GITHUBUSER bump-<version>
```
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 <tag>
git push origin <tag>
```
### 3. Update library image
```
git clone git@github.com:docker/swarm-library-image.git
cd swarm-library-image
./update.sh <tag> (example: ./update.sh v0.2.0-rc2)
check buils is successful (swarm binary should show in git diff)
git add .
git commit -s -m “<tag>"
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_<tag>
edit library/swarm
git add library/swarm
git commit -s -m "update swarm <tag>"
git push $GITHUBUSER update_swarm_<tag>
```
Open PR on docker-library/official-images
### 5. Create release on github
Go to https://github.com/docker/swarm/releases/new use <tag> and changelog