Skip to content

Commit 5845364

Browse files
committed
fix: fix yaml
1 parent 3a22d2b commit 5845364

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

.goreleaser.yaml

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# .goreleaser.yml
1+
# .goreleaser.yaml
22

33
project_name: sift
44

5-
# run before the build.
5+
# Run before the build
66
before:
77
hooks:
88
- go mod tidy
99

10-
# config for build
10+
# Build configuration
1111
builds:
1212
- id: sift
1313
main: ./cmd/sift/
@@ -20,36 +20,43 @@ builds:
2020
- amd64
2121
- arm64
2222

23+
# Archive configuration
24+
archives:
25+
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
26+
format_overrides:
27+
- goos: windows
28+
format: zip
29+
files:
30+
- README.md
31+
- LICENSE
32+
33+
# Checksum configuration
2334
checksum:
2435
name_template: "checksums.txt"
2536

26-
# package into Homebrew formulas.
37+
# Homebrew formula configuration
2738
brews:
2839
- name: sift
29-
tap:
40+
repository:
3041
owner: chriscorrea
3142
name: homebrew-sift
3243
homepage: "https://github.com/chriscorrea/sift"
3344
description: "Build LLM workflows on the command line"
3445
test: |
3546
system "#{bin}/sift --help"
3647
37-
archives:
38-
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
39-
format_overrides:
40-
- goos: windows
41-
format: zip
42-
# add important files to the archive root (binary auto included)
43-
files:
44-
- README.md
45-
- LICENSE
46-
48+
# Changelog configuration
4749
changelog:
4850
sort: asc
4951
filters:
50-
- regexp: '(?i)^(docs|test|style|chore|ci):'
51-
52-
# enables creation of GitHub releases
52+
exclude:
53+
- "^docs:"
54+
- "^test:"
55+
- "^style:"
56+
- "^chore:"
57+
- "^ci:"
58+
59+
# GitHub release configuration
5360
release:
5461
github:
5562
owner: chriscorrea

0 commit comments

Comments
 (0)