Skip to content

Commit

Permalink
Update docs to reflect if release already exists flag from helm#111
Browse files Browse the repository at this point in the history
Adds reference for using --skip-existing and CR_SKIP_EXISTING
  • Loading branch information
alokjani committed Sep 26, 2021
1 parent e08d086 commit 158a531
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 158a531

Please # to comment.