Skip to content

Commit b0cdfff

Browse files
committed
debt: Added comments for clarify.
1 parent f968a3b commit b0cdfff

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

.goreleaser.yaml

+17-10
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ changelog:
7474
- title: Others
7575
order: 999
7676

77-
#sboms:
78-
# - artifacts: archive
79-
77+
# Ref: https://goreleaser.com/customization/builds/
8078
builds:
8179
# You can have multiple builds defined as a yaml list
8280
- # Path to main.go file or main package.
@@ -114,7 +112,6 @@ builds:
114112
goarch:
115113
- '386'
116114
- 'amd64'
117-
- 'arm'
118115
- 'arm64'
119116

120117
# GOAMD64 to build when GOARCH is amd64.
@@ -125,9 +122,7 @@ builds:
125122
# https://go.dev/wiki/MinimumRequirements#amd64
126123
# Default: [ 'v1' ].
127124
goamd64:
128-
- 'v2'
129-
- 'v3'
130-
- 'v4'
125+
- 'v1'
131126

132127
# Set a specific go binary to use when building.
133128
# It is safe to ignore this option in most cases.
@@ -200,11 +195,23 @@ archives:
200195
- README.md
201196
- CHANGELOG/CHANGELOG*
202197

198+
# Ref: https://goreleaser.com/customization/release/
203199
release:
200+
# Repo in which the release will be created.
201+
# Default: extracted from the origin remote URL or empty if its private hosted.
204202
github:
205203
owner: sixafter
206204
name: nanoid-cli
205+
206+
# You can change the name of the release.
207+
#
208+
# Default: '{{.Tag}}' ('{{.PrefixedTag}}' on Pro).
209+
# Templates: allowed.
207210
name_template: 'v{{ .Version }}'
211+
212+
# Footer for the release body.
213+
#
214+
# Templates: allowed.
208215
footer: |
209216
**Full Changelog**: [https://github.com/sixafter/nanoid-cli/tree/main/CHANGELOG/CHANGELOG-1.x](https://github.com/sixafter/nanoid-cli/tree/main/CHANGELOG/CHANGELOG-1.x.md)
210217
@@ -218,8 +225,8 @@ brews:
218225

219226
# IDs of the archives to use.
220227
# Empty means all IDs.
221-
ids:
222-
- tar
228+
# ids:
229+
# - tar
223230

224231
# GOARM to specify which 32-bit arm version to use if there are multiple
225232
# versions from the build section. Brew formulas support only one 32-bit
@@ -232,7 +239,7 @@ brews:
232239
# versions from the build section.
233240
#
234241
# Default: v1.
235-
goamd64: v1
242+
# goamd64: v1
236243

237244
# Templates: allowed.
238245
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"

0 commit comments

Comments
 (0)