Skip to content

Commit 4755375

Browse files
committed
:arrow_up:Added .goreleaser.yaml for CI/CD configuration`
1 parent d2b6e03 commit 4755375

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.goreleaser.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
project_name: ai-git
2+
builds:
3+
- id: ai-git
4+
main: .
5+
goos:
6+
- linux
7+
- darwin
8+
- windows
9+
goarch:
10+
- amd64
11+
- arm64
12+
ldflags:
13+
- -s -w -X main.version={{.Version}}
14+
env:
15+
- CGO_ENABLED=0
16+
binary: ai-git
17+
18+
archives:
19+
- id: default
20+
format: tar.gz
21+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
22+
files:
23+
- LICENSE
24+
- README.md
25+
26+
checksum:
27+
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
28+
29+
release:
30+
github:
31+
owner: Codexiaoyi
32+
name: ai-git
33+
draft: false
34+
35+
changelog:
36+
sort: desc
37+
filters:
38+
exclude:
39+
- '^docs:'
40+
- '^test:'
41+

0 commit comments

Comments
 (0)