Skip to content

Commit 7b0ba98

Browse files
committed
chore(release): add GoReleaser config for CLI releases
1 parent 2470295 commit 7b0ba98

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.goreleaser.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
project_name: lazycommit
2+
3+
release:
4+
prerelease: false
5+
github:
6+
owner: m7medVision
7+
name: lazycommit
8+
9+
builds:
10+
- id: lazycommit
11+
main: ./main.go
12+
binary: lazycommit
13+
env:
14+
- CGO_ENABLED=0
15+
goos: [linux, darwin, windows]
16+
goarch: [amd64, arm64]
17+
ldflags:
18+
- -s -w
19+
20+
archives:
21+
- id: archive
22+
builds: [lazycommit]
23+
format_overrides:
24+
- goos: windows
25+
format: zip
26+
27+
checksum:
28+
name_template: "checksums.txt"
29+
30+
changelog:
31+
sort: asc
32+
use: git
33+
filters:
34+
exclude:
35+
- '^docs:'
36+
- '^test:'
37+
38+
brews:
39+
- name: lazycommit
40+
repository:
41+
owner: m7medVision
42+
name: homebrew-tap
43+
commit_author:
44+
name: goreleaserbot
45+
46+
directory: Formula
47+
homepage: "https://github.com/m7medVision/lazycommit"
48+
description: "AI-powered conventional commits CLI"
49+
license: "MIT"
50+
test: |
51+
system "#{bin}/lazycommit", "--help"

0 commit comments

Comments
 (0)