You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cr/cmd/upload.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -57,4 +57,9 @@ func init() {
57
57
"If it is set to empty string, or the file is not found, the chart description will be used instead. The file is read from the chart package")
58
58
uploadCmd.Flags().Bool("generate-release-notes", false, "Whether to automatically generate the name and body for this release. See https://docs.github.com/en/rest/releases/releases")
59
59
uploadCmd.Flags().Bool("make-release-latest", true, "Mark the created GitHub release as 'latest'")
60
+
uploadCmd.Flags().String("pages-branch", "gh-pages", "The GitHub pages branch")
61
+
uploadCmd.Flags().String("remote", "origin", "The Git remote used when creating a local worktree for the GitHub Pages branch")
62
+
uploadCmd.Flags().Bool("push", false, "Push the chart package to the GitHub Pages branch (must not be set if --pr is set)")
63
+
uploadCmd.Flags().Bool("pr", false, "Create a pull request for the chart package against the GitHub Pages branch (must not be set if --push is set)")
64
+
uploadCmd.Flags().Bool("packages-with-index", false, "Host the package files in the GitHub Pages branch")
Copy file name to clipboardExpand all lines: doc/cr_upload.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,13 @@ cr upload [flags]
22
22
--make-release-latest Mark the created GitHub release as 'latest' (default true)
23
23
-o, --owner string GitHub username or organization
24
24
-p, --package-path string Path to directory with chart packages (default ".cr-release-packages")
25
+
--packages-with-index Host the package files in the GitHub Pages branch
26
+
--pages-branch string The GitHub pages branch (default "gh-pages")
27
+
--pr Create a pull request for the chart package against the GitHub Pages branch (must not be set if --push is set)
28
+
--push Push the chart package to the GitHub Pages branch (must not be set if --pr is set)
25
29
--release-name-template string Go template for computing release names, using chart metadata (default "{{ .Name }}-{{ .Version }}")
26
30
--release-notes-file string Markdown file with chart release notes. If it is set to empty string, or the file is not found, the chart description will be used instead. The file is read from the chart package
31
+
--remote string The Git remote used when creating a local worktree for the GitHub Pages branch (default "origin")
0 commit comments