-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# TektonCD CLI release process | ||
|
||
- You need to be a tektoncd-cli [OWNERS](OWNERS) to be able to push the new branch | ||
|
||
- You need to have your own tekton cluster, under `minikube`, `gcp` or other means. | ||
|
||
- Start reading this [README](tekton/README.md) and you can start a new release | ||
with the [release.sh](tekton/release.sh) script. | ||
|
||
- Update the main [README.md](README.md) and change the version number in there (i.e: `v0.5.0`) | ||
to the version you are releasing. Make a PR and get it merged ASAP. | ||
|
||
- When release is done in https://github.com/tektoncd/cli/releases edit the | ||
release and change it from pre-release as released. | ||
|
||
- When it's released you can build the rpm according to this | ||
[README](tekton/rpmbuild/README.md). Make sure you have done the PREREQ to be | ||
able to upload it to the copr repository. This could take some time if copr | ||
builder is busy. | ||
|
||
- you need to edit the Changelog according to the other templates in there, | ||
usually you may want to do this in hackmd so you can have other cli | ||
maintainers do this with you. You can see an example | ||
[here](https://gist.github.com/chmouel/8a837af3a592df47db9e81da8846c673). | ||
|
||
- Get some OSX person to test the `brew install tektoncd/cli/tektoncd-cli` | ||
|
||
- Get some Fedora person to test the RPM : | ||
|
||
```shell | ||
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, make sure you get the proper `sha256sum` and update it like this : | ||
|
||
https://github.com/Homebrew/homebrew-core/pull/46492 | ||
|
||
- Announce and spread the love on twitter, make sure you tag | ||
[@tektoncd](https://twitter.com/tektoncd) account so you get retweeted and | ||
perhaps add the major new features in the tweet. See [here](https://twitter.com/chmouel/status/1177172542144036869) for an example. | ||
Do not fear to add a bunch of emojis 🎉🥳. Ask @vdemeester for tips 🤣. | ||
|
||
- Notify the cli channel on slack. |