-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.goreleaser.yml
More file actions
39 lines (35 loc) · 759 Bytes
/
.goreleaser.yml
File metadata and controls
39 lines (35 loc) · 759 Bytes
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
version: 2
builds:
- main: ./cmd/librarr/
binary: librarr
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- arm
goarm:
- "7"
ldflags:
- -s -w
- -X github.com/JeremiahM37/librarr/internal/api.Version={{.Version}}
- -X github.com/JeremiahM37/librarr/internal/api.BuildTime={{.Date}}
archives:
- formats: ['tar.gz']
format_overrides:
- goos: windows
formats: ['zip']
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"