-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
56 lines (50 loc) · 1.23 KB
/
.goreleaser.yml
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
49
50
51
52
53
54
55
56
version: 2
before:
hooks:
- go mod tidy
builds:
- id: porty
binary: porty
ldflags:
- -X github.com/softwarespot/porty/internal/version.Version={{.Version}}
- -X github.com/softwarespot/porty/internal/version.Time={{.Date}}
- -X github.com/softwarespot/porty/internal/version.User={{.Env.USER}}
- -X github.com/softwarespot/porty/internal/version.GoVersion={{.Env.GO_VERSION}}
- -s
- -w
env:
- CGO_ENABLED=0
- GO_VERSION=1.23
- USER=SoftwareSpot
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
goarm:
- '7'
ignore:
- goos: darwin
goarch: arm
archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
format: tar.xz
format_overrides:
- goos: windows
format: zip
wrap_in_directory: true
files:
- LICENSE
- README.md
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
release:
draft: false
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'