Skip to content

Commit 81efe5a

Browse files
committed
updated help
1 parent 24a6612 commit 81efe5a

File tree

4 files changed

+5
-63
lines changed

4 files changed

+5
-63
lines changed

.goreleaser.yml

Lines changed: 2 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,9 @@ builds:
2020
goarch:
2121
- amd64
2222
- arm64
23-
# - arm
24-
# - s390x
25-
# - ppc64le
26-
# goarm:
27-
# - 7
2823
goos:
2924
- linux
30-
# - darwin
31-
# - windows
25+
- darwin
3226
ldflags:
3327
- >-
3428
-X github.com/helm/chart-releaser/cr/cmd.Version={{ .Tag }}
@@ -48,62 +42,10 @@ checksum:
4842
snapshot:
4943
name_template: "{{ .Tag }}-next"
5044

51-
# dockers:
52-
# - goos: linux
53-
# goarch: amd64
54-
# skip_push: false
55-
# dockerfile: Dockerfile
56-
# use: buildx
57-
# image_templates:
58-
# - mguptahub/chart-releaser:{{ .Tag }}-amd64
59-
# - mguptahub/chart-releaser:latest-amd64
60-
# build_flag_templates:
61-
# - "--platform=linux/amd64"
62-
# - --label=org.label-schema.schema-version=1.0
63-
# - --label=org.label-schema.version={{ .Version }}
64-
# - --label=org.label-schema.name={{ .ProjectName }}
65-
# - --label=org.label-schema.build-date={{ .Date }}
66-
# - --label=org.label-schema.description='cr - The chart release tool'
67-
# - --label=org.label-schema.vendor=Helm
68-
69-
# - goos: linux
70-
# goarch: arm64
71-
# skip_push: false
72-
# dockerfile: Dockerfile
73-
# use: buildx
74-
# image_templates:
75-
# - mguptahub/chart-releaser:{{ .Tag }}-arm64
76-
# - mguptahub/chart-releaser:latest-arm64
77-
# build_flag_templates:
78-
# - "--platform=linux/arm64"
79-
# - --label=org.label-schema.schema-version=1.0
80-
# - --label=org.label-schema.version={{ .Version }}
81-
# - --label=org.label-schema.name={{ .ProjectName }}
82-
# - --label=org.label-schema.build-date={{ .Date }}
83-
# - --label=org.label-schema.description='cr - The chart release tool'
84-
# - --label=org.label-schema.vendor=Helm
85-
86-
# docker_manifests:
87-
# - name_template: mguptahub/chart-releaser:{{ .Tag }}
88-
# image_templates:
89-
# - mguptahub/chart-releaser:{{ .Tag }}-amd64
90-
# - mguptahub/chart-releaser:{{ .Tag }}-arm64
91-
# - name_template: mguptahub/chart-releaser:latest
92-
# image_templates:
93-
# - mguptahub/chart-releaser:latest-amd64
94-
# - mguptahub/chart-releaser:latest-arm64
95-
9645
signs:
9746
- id: all
9847
signature: "${artifact}.sig"
9948
certificate: "${artifact}.pem"
10049
cmd: cosign
10150
args: ["sign-blob", "--output-signature", "${artifact}.sig", "--output-certificate", "${artifact}.pem", "${artifact}"]
102-
artifacts: all
103-
104-
# docker_signs:
105-
# - id: images
106-
# cmd: cosign
107-
# args: ["sign", "${artifact}"]
108-
# artifacts: manifests
109-
51+
artifacts: all

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Flags:
107107
-t, --token string GitHub Auth Token
108108
--make-release-latest bool Mark the created GitHub release as 'latest' (default "true")
109109
--packages-with-index Host the package files in the GitHub Pages branch
110-
--prerelease Mark this as 'Pre-release'
110+
--prerelease Mark this as 'Pre-release' (default: false)
111111

112112
Global Flags:
113113
--config string Config file (default is $HOME/.cr.yaml)

cr/cmd/upload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ func init() {
6262
uploadCmd.Flags().Bool("push", false, "Push the chart package to the GitHub Pages branch (must not be set if --pr is set)")
6363
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)")
6464
uploadCmd.Flags().Bool("packages-with-index", false, "Host the package files in the GitHub Pages branch")
65-
uploadCmd.Flags().Bool("prerelease", false, "Mark this as 'Pre-release'")
65+
uploadCmd.Flags().Bool("prerelease", false, "Mark this as 'Pre-release' (default: false)")
6666
}

doc/cr_upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cr upload [flags]
2525
--packages-with-index Host the package files in the GitHub Pages branch
2626
--pages-branch string The GitHub pages branch (default "gh-pages")
2727
--pr Create a pull request for the chart package against the GitHub Pages branch (must not be set if --push is set)
28-
--prerelease Mark this as 'Pre-release'
28+
--prerelease Mark this as 'Pre-release' (default: false)
2929
--push Push the chart package to the GitHub Pages branch (must not be set if --pr is set)
3030
--release-name-template string Go template for computing release names, using chart metadata (default "{{ .Name }}-{{ .Version }}")
3131
--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

0 commit comments

Comments
 (0)