From f040d0ff7a1697a20a8622feca693f94b2f4da50 Mon Sep 17 00:00:00 2001 From: Tim Ramlot <42113979+inteon@users.noreply.github.com> Date: Wed, 17 Jan 2024 13:48:51 +0100 Subject: [PATCH] add README.md Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> --- README.md | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 01ae28f..c8bc66a 100644 --- a/README.md +++ b/README.md @@ -1 +1,36 @@ -# cmctl \ No newline at end of file +
+ +
+ +# cmctl - The cert-manager Command Line Tool + +`cmctl` is a command line tool that can help you manage cert-manager and its resources inside your cluster. + +## Documentation + +The documentation for `cmctl` can be found on the [cert-manager website](https://cert-manager.io/docs/usage/cmctl/). + +## Versioning + +Before v2, `cmctl` was located in the cert-manager repository and versioned together with cert-manager. +Starting from v2, `cmctl` is versioned seperately from cert-manager itself. + +## Release Process + +Create a Git tag with a tagname that has a `v` prefix and push it to GitHub. +This will trigger the [release workflow]. + +1. Create and push a Git tag + +```sh +export VERSION=v2.0.0-alpha.0 +git tag --annotate --message="Release ${VERSION}" "${VERSION}" +git push origin "${VERSION}" +``` + +2. Wait for the [release workflow] to succeed. + +3. Visit the [releases page], edit the draft release, click "Generate release notes", and publish the release. + +[release workflow]: https://github.com/cert-manager/cmctl/actions/workflows/release.yaml +[releases page]: https://github.com/cert-manager/cmctl/releases