Skip to content

Commit 8fd89f8

Browse files
committed
ci: 新增m1编译
1 parent 9969acc commit 8fd89f8

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
dist/
12
# IntelliJ project files
23
.idea
34
*.iml

.goreleaser.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Make sure to check the documentation at http://goreleaser.com
2+
project_name: gh
3+
before:
4+
hooks:
5+
- go mod download
6+
7+
builds:
8+
- env:
9+
- CGO_ENABLED=0
10+
goos:
11+
- linux
12+
- darwin
13+
14+
goarch:
15+
- 386
16+
- amd64
17+
- arm64
18+
19+
ignore:
20+
- goos: darwin
21+
goarch: 386
22+
23+
archives:
24+
- replacements:
25+
darwin: Darwin
26+
linux: Linux
27+
windows: Windows
28+
386: i386
29+
amd64: x86_64
30+
31+
checksum:
32+
name_template: 'checksums.txt'
33+
snapshot:
34+
name_template: "{{ incpatch .Tag }}-next"
35+
changelog:
36+
sort: asc
37+
filters:
38+
exclude:
39+
- '^docs:'
40+
- '^test:'
41+

0 commit comments

Comments
 (0)