NOTE: During release, don't merge any PR other than bumping the version.
Let's say we are releasing $VERSION (e.g. v1.2.3
) .
-
Bump up version (e.g. 0.8.0 -> 0.8.1):
./hack/release/bump_version.sh 0.8.0 0.8.1
-
Update CHANGELOG.md.
-
Send a PR. After it's merged, cut a tag:
git tag $VERSION git push ${upstream_remote} tags/$VERSION
-
Login to quay.io using docker if haven't:
docker login quay.io
Follow the prompts.
-
git checkout tag (created above)
-
Follow developer_guide.md for build instructions.
-
After build, push image:
$ IMAGE=quay.io/coreos/etcd-operator:$VERSION hack/build/docker_push
- Retag "latest":
$ docker tag quay.io/coreos/etcd-operator:$VERSION quay.io/coreos/etcd-operator:latest
$ docker push quay.io/coreos/etcd-operator:latest
-
Click "releases" in the top bar.
-
Click "$VERSION" tag.
-
Click "Edit Tag".
-
Fill in title and release notes.
-
If it's not stable release, click "This is a pre-release".
In version/version.go, bump version again:
// Version = "0.2.2+git" (without "v" prefix)
Version = "$VERSION+git"
Send another PR and merge it.