Skip to content

Commit

Permalink
Improve release docs
Browse files Browse the repository at this point in the history
This will add detailed information about some
steps which needs to be performed for releasing
the CLI
  • Loading branch information
piyush-garg committed Feb 6, 2020
1 parent 0552563 commit cb460c9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
16 changes: 13 additions & 3 deletions RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down
5 changes: 5 additions & 0 deletions tekton/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit cb460c9

Please sign in to comment.