From c59a66c569b18f17a2ba397599c5e24bff98bd18 Mon Sep 17 00:00:00 2001 From: Alok Jani Date: Tue, 28 Sep 2021 18:56:54 +0530 Subject: [PATCH] Update docs to reflect if release already exists flag from #111 (#136) Adds reference for using --skip-existing and CR_SKIP_EXISTING Signed-off-by: Alok Jani --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 519fb475..9a9c04fc 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ Flags: -o, --owner string GitHub username or organization -p, --package-path string Path to directory with chart packages (default ".cr-release-packages") --release-name-template string Go template for computing release names, using chart metadata (default "{{ .Name }}-{{ .Version }}") + --skip-existing Skip upload if release exists -t, --token string GitHub Auth Token Global Flags: @@ -144,6 +145,7 @@ The following example show various ways of configuring the same thing: export CR_TOKEN="123456789" export CR_GIT_BASE_URL="https://api.github.com/" export CR_GIT_UPLOAD_URL="https://uploads.github.com/" + export CR_SKIP_EXISTING=true cr upload