Browse Source

Hack: update release checklist and reference it in REAMDE

Solomon Hykes 11 năm trước cách đây
mục cha
commit
99377de7d2
2 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 2 0
      hack/README.md
  2. 5 7
      hack/RELEASE-CHECKLIST.md

+ 2 - 0
hack/README.md

@@ -8,3 +8,5 @@ If you're a *contributor* or aspiring contributor, you should read CONTRIBUTORS.
 If you're a *maintainer* or aspiring maintainer, you should read MAINTAINERS.md.
 
 If you're a *packager* or aspiring packager, you should read PACKAGERS.md.
+
+If you're a maintainer in charge of a *release*, you should read RELEASE-CHECKLIST.md.

+ 5 - 7
hack/RELEASE-CHECKLIST.md

@@ -55,11 +55,9 @@ EXAMPLES:
 
 ### 4. Run all tests
 
-```bash
-go test
-```
+FIXME
 
-### 5. Commit and create a pull request
+### 5. Commit and create a pull request to the "release" branch
 
 ```bash
 git add CHANGELOG.md
@@ -72,7 +70,7 @@ git push origin bump_$VERSION
 ### 7. Merge the pull request and apply tags
 
 ```bash
-git checkout master
+git checkout release
 git merge bump_$VERSION
 git tag -a v$VERSION # Don't forget the v!
 git tag -f -a latest
@@ -87,13 +85,13 @@ Get them from [the infrastructure maintainers](
 https://github.com/dotcloud/docker/blob/master/hack/infrastructure/MAINTAINERS).
 
 ```bash
-docker build -t releasedocker .
+docker build -t docker .
 docker run  \
 	-e AWS_S3_BUCKET=get-nightly.docker.io \
 	-e AWS_ACCESS_KEY=$(cat ~/.aws/access_key) \
 	-e AWS_SECRET_KEY=$(cat ~/.aws/secret_key) \
 	-e GPG_PASSPHRASE=supersecretsesame \
-	releasedocker
+	hack/make.sh release
 ```
 
 It will build and upload the binaries on the specified bucket (you should