forked from immutability-io/vault-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoreleaser.yml
44 lines (43 loc) · 1.41 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
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
- id: vault-ethereum-darwin-amd64
ldflags: -s -w -X github.com/immutability-io/vault-ethereum.Version={{.Version}} -X github.com/immutability-io/vault-ethereum.BuildDate={{.Date}} -X github.com/immutability-io/vault-ethereum.CommitHash={{ .ShortCommit }}
binary: vault-ethereum_{{.Version}}
env:
- CGO_ENABLED=1
- CC=o64-clang
- CXX=o64-clang++
goos:
- darwin
goarch:
- amd64
- id: vault-ethereum-linux-amd64
ldflags: -s -w -X github.com/immutability-io/vault-ethereum/pkg/version.Version={{.Version}} -X github.com/immutability-io/vault-ethereum/pkg/version.BuildDate={{.Date}} -X github.com/immutability-io/vault-ethereum/pkg/version.CommitHash={{ .ShortCommit }}
binary: vault-ethereum_{{.Version}}
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
- id: vault-ethereum-windows-amd64
ldflags: -s -w -X github.com/immutability-io/vault-ethereum/pkg/version.Version={{.Version}} -X github.com/immutability-io/vault-ethereum/pkg/version.BuildDate={{.Date}} -X github.com/immutability-io/vault-ethereum/pkg/version.CommitHash={{ .ShortCommit }}
binary: vault-ethereum_{{.Version}}
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
goos:
- windows
goarch:
- amd64
archives:
- format: zip
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}_{{.Arch}}"
files:
- README.md
- LICENSE