-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yaml
48 lines (48 loc) · 895 Bytes
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: 2
project_name: ass
before:
hooks:
- go mod tidy
builds:
- id: master
env:
- CGO_ENABLED=0
goos: # 编译平台列表
- linux
- windows
goarch:
- arm
- arm64
- amd64
goarm:
- 7
ldflags:
- "-s -w"
ignore:
- goarch: arm64
goos: windows
- goarch: arm
goos: windows
checksum:
name_template: 'checksums.txt'
archives:
- id: binary
format: binary
name_template: >-
{{- tolower .ProjectName }}-v
{{- .Version }}-
{{- replace .Os "darwin" "macos" }}-
{{- .Arch }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
release:
name_template: "AlistAutoStrm - v{{.Version}}"
mode: replace
changelog:
use: github
format: "{{.SHA}}: {{.Message}} (@{{.AuthorUsername}})"
filters:
exclude:
- '^test'
- '^dep'
- 'typo'
- '^build'