diff --git a/hack/RELEASE-CHECKLIST.md b/hack/RELEASE-CHECKLIST.md index c8daee4874..2209baa745 100644 --- a/hack/RELEASE-CHECKLIST.md +++ b/hack/RELEASE-CHECKLIST.md @@ -249,6 +249,16 @@ branch afterwards! ### 11. Update the docs branch +If this is a MAJOR.MINOR.0 release, you need to make an branch for the previous release's +documentation: + +```bash +git checkout -b docs-$PREVIOUS_MAJOR_MINOR docs +git fetch +git reset --hard origin/docs +git push -f origin docs-$PREVIOUS_MAJOR_MINOR +``` + You will need the `awsconfig` file added to the `docs/` directory to contain the s3 credentials for the bucket you are deploying to. @@ -257,13 +267,15 @@ git checkout -b docs release || git checkout docs git fetch git reset --hard origin/release git push -f origin docs -make AWS_S3_BUCKET=docs.docker.io docs-release +make AWS_S3_BUCKET=docs.docker.com docs-release ``` -The docs will appear on http://docs.docker.io/ (though there may be cached -versions, so its worth checking http://docs.docker.io.s3-website-us-west-2.amazonaws.com/). +The docs will appear on http://docs.docker.com/ (though there may be cached +versions, so its worth checking http://docs.docker.com.s3-website-us-east-1.amazonaws.com/). For more information about documentation releases, see `docs/README.md`. +Ask Sven, or JohnC to invalidate the cloudfront cache using the CND Planet chrome applet. + ### 12. Create a new pull request to merge release back into master ```bash