-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgoreleaser.yml
47 lines (47 loc) · 879 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
release:
draft: true
github:
owner: andygrunwald
name: perseus
build:
goos:
- darwin
- linux
- windows
- freebsd
- netbsd
- openbsd
- dragonfly
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- "6"
main: cmd/perseus/main.go
ldflags: -s -w -X main.Version={{.Version}} -X main.CommitHash={{.Commit}} -X main.BuildDate={{.Date}}
binary: perseus
archive:
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
amd64: 64bit
386: 32bit
darwin: macOS
freebsd: FreeBSD
linux: Linux
netbsd: NetBSD
openbsd: OpenBSD
dragonfly: DragonFlyBSD
windows: Windows
arm: ARM
arm64: ARM64
files:
- LICENSE
- README.md
snapshot:
name_template: SNAPSHOT