From 35588137b7de5ab634c6f0b8fb77a2f4711cbf83 Mon Sep 17 00:00:00 2001 From: John Gardiner Myers Date: Fri, 28 May 2021 22:55:36 -0700 Subject: [PATCH] Simplify release steps --- docs/contributing/release-process.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/docs/contributing/release-process.md b/docs/contributing/release-process.md index af7f660a35..e579b86cbb 100644 --- a/docs/contributing/release-process.md +++ b/docs/contributing/release-process.md @@ -64,17 +64,10 @@ The syntax is `hack/set-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