forked from LedgerHQ/satstack
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
55 lines (43 loc) · 895 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
before:
hooks:
- go mod tidy
- go mod verify
- go mod download
builds:
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm
- arm64
binary: lss
main: ./cmd/lss.go
ldflags: -s -w -X satstack/version.GitCommit={{.ShortCommit}} -X satstack/version.Build=release
env:
- GIN_MODE=release
checksum:
name_template: '{{ tolower .ProjectName }}_{{.Version}}_checksums.txt'
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
archives:
- name_template: "{{ tolower .ProjectName }}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
darwin: macOS
linux: Linux
windows: Windows
freebsd: FreeBSD
files:
- LICENSE
format: tar.gz
format_overrides:
- goos: windows
format: zip
release:
github:
owner: ledgerhq
name: satstack