Simplify release steps

This commit is contained in:
John Gardiner Myers 2021-05-28 22:55:36 -07:00
parent 5e7c6da57e
commit 35588137b7
1 changed files with 2 additions and 16 deletions

View File

@ -64,17 +64,10 @@ The syntax is `hack/set-version <new-release-version>`
* Update the golden tests: `hack/update-expected.sh`
* Commit the changes (without pushing yet): `git add -p && git commit -m "Release 1.X.Y"`
* Commit the changes (without pushing yet): `git add . && git commit -m "Release 1.X.Y"`
* This is the "release commit".
### Check builds are OK
```
rm -rf .build/ .bazelbuild/
make ci
```
### Send Pull Request to propose a release
```
@ -180,13 +173,6 @@ echo "# ${VERSION}" >> images.yaml
cip run --snapshot gcr.io/k8s-staging-kops --snapshot-tag ${VERSION} >> images.yaml
```
You can dry-run the promotion with
```
cd ${GOPATH}/src/k8s.io/k8s.io
cip run --thin-manifest-dir k8s.gcr.io
```
Currently we send the image and non-image artifact promotion PRs separately.
```
@ -276,7 +262,7 @@ wget https://artifacts.k8s.io/binaries/kops/${VERSION}/linux/amd64/kops
mv kops ko
chmod +x ko
./kops version
./ko version
```
Also run through a `kops create cluster` flow, ideally verifying that