-
Notifications
You must be signed in to change notification settings - Fork 42
/
.goreleaser.yml
64 lines (61 loc) · 1.46 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
57
58
59
60
61
62
63
64
project_name: e2core
env:
- CGO_ENABLED=1
builds:
- id: e2core
main: .
binary: e2core
goos:
- linux
- darwin
goarch:
- amd64
- arm64
tags:
- netgo
overrides:
- goos: linux
goarch: amd64
goamd64: v1
env:
- CGO_ENABLED=1
- CC=x86_64-linux-gnu-gcc
- CXX=x86_64-linux-gnu-g++
ldflags:
- -X github.com/suborbital/e2core/e2core/release.Version={{.Env.VERSION}}
- -extldflags "-static"
- goos: linux
goarch: arm64
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
ldflags:
- -X github.com/suborbital/e2core/e2core/release.Version={{.Env.VERSION}}
- -extldflags "-static"
- goos: darwin
goarch: amd64
goamd64: v1
env:
- CGO_ENABLED=1
- CC=o64-clang
- CXX=o64-clang++
ldflags:
- -X github.com/suborbital/e2core/e2core/release.Version={{.Env.VERSION}}
- goos: darwin
goarch: arm64
env:
- CGO_ENABLED=1
- CC=oa64-clang
- CXX=oa64-clang++
ldflags:
- -X github.com/suborbital/e2core/e2core/release.Version={{.Env.VERSION}}
changelog:
skip: true
checksum:
name_template: 'checksums.txt'
archives:
- id: e2core
name_template: 'e2core-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
builds:
- e2core