-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yml
55 lines (55 loc) · 1005 Bytes
/
.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
project_name: ssh-agent-inject
before:
hooks:
- go mod download
- go generate ./...
env:
- CGO_ENABLED=0
builds:
- id: windows
goos:
- windows
goarch:
- amd64
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
- -H windowsgui
- id: unix
goos:
- linux
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- 7
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
archives:
- id: windows
builds:
- windows
format: zip
replacements:
windows: Windows
amd64: x86_64
- id: unix
builds:
- unix
replacements:
darwin: macOS
linux: Linux
amd64: x86_64
snapshot:
name_template: "{{ .Tag }}-next"
release:
draft: true
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch