Skip to content

Commit c59a66c

Browse files
authored
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 <[email protected]>
1 parent e08d086 commit c59a66c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Flags:
8080
-o, --owner string GitHub username or organization
8181
-p, --package-path string Path to directory with chart packages (default ".cr-release-packages")
8282
--release-name-template string Go template for computing release names, using chart metadata (default "{{ .Name }}-{{ .Version }}")
83+
--skip-existing Skip upload if release exists
8384
-t, --token string GitHub Auth Token
8485

8586
Global Flags:
@@ -144,6 +145,7 @@ The following example show various ways of configuring the same thing:
144145
export CR_TOKEN="123456789"
145146
export CR_GIT_BASE_URL="https://api.github.com/"
146147
export CR_GIT_UPLOAD_URL="https://uploads.github.com/"
148+
export CR_SKIP_EXISTING=true
147149

148150
cr upload
149151

0 commit comments

Comments
 (0)