-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
52 lines (46 loc) · 886 Bytes
/
.goreleaser.yaml
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
version: 2
project_name: lokxy
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
- go mod download
metadata:
mod_timestamp: "{{ .CommitTimestamp }}"
report_sizes: true
archives:
- format: tar.gz
files:
- LICENSE
builds:
- main: ./cmd/
binary: lokxy
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- "386"
- amd64
- arm
- arm64
- ppc64
goarm:
- "7"
ignore:
- goos: windows
goarch: arm
- goos: darwin
goarch: "386"
- goos: linux
goarch: arm
goarm: 7
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{ .Env.GORELEASER_CURRENT_TAG }} -X main.commit={{ .Commit }} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser