From 158a531eb4f4d210023a32eb5d51373bcd376a2f Mon Sep 17 00:00:00 2001 From: Alok Jani Date: Sun, 26 Sep 2021 13:50:58 +0530 Subject: [PATCH] Update docs to reflect if release already exists flag from #111 Adds reference for using --skip-existing and CR_SKIP_EXISTING --- 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