diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index 34dfdce30..ca0128e82 100644 --- a/RELEASE_PROCESS.md +++ b/RELEASE_PROCESS.md @@ -39,9 +39,19 @@ dnf makecache dnf upgrade tektoncd-cli ``` -- Make an update for [homebrew-core](https://github.com/Homebrew/homebrew-core/blob/master/Formula/tektoncd-cli.rb) for tektoncd-cli formula, and make sure you get the proper `sha256sum` and update it like this: - - https://github.com/Homebrew/homebrew-core/pull/46492 +- Make an update on [homebrew-core](https://github.com/Homebrew/homebrew-core/blob/master/Formula/tektoncd-cli.rb) for tektoncd-cli formula. + + * Make sure you get the proper `sha256sum`. You need to download the `Source Code (tar.gz)` from the [release section of the cli GitHub](https://github.com/tektoncd/cli/releases) and run the command below for the release version you are working on: + + ```shell script + sha256sum cli-0.7.1.tar.gz + ``` + + You will get similar output to what is shown below: + + `72df3075303d2b0393bae9a0f9e9b8441060b8a4db57e613ba8f1bfda03809b5 cli-0.7.1.tar.gz` + + * Raise a PR to update like [this](https://github.com/Homebrew/homebrew-core/pull/46492) to Homebrew Core - Make an update to the `test-runner` and `tkn` image in the [plumbing](https://github.com/tektoncd/plumbing/) repo. The test-runner image is where we run the CI on pipeline which uses `tkn`: diff --git a/tekton/README.md b/tekton/README.md index 632a3aacf..6c3f6c0cc 100644 --- a/tekton/README.md +++ b/tekton/README.md @@ -32,6 +32,11 @@ commits. It will them use your Kubernetes cluster with Tekton and apply what needs to be done for running the release. +For running the release pipeline, you will require a github token, which script will ask +to provide. You can generate a GitHub token using the following +[instructions](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line). +Your token needs following access `admin:org, read:packages, repo, write:packages` + Finally it will launch the `tkn` cli that you have installed locally to show the logs. Make sure we have a nice ChangeLog before doing the release, listing `features`