forked from vulsio/goval-dictionary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
37 lines (37 loc) · 923 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
project_name: goval-dictionary
release:
github:
owner: vulsio
name: goval-dictionary
env:
- GO111MODULE=on
- CGO_ENABLED=1
builds:
- id: linux-amd64
goos:
- linux
goarch:
- amd64
env:
- CC=x86_64-linux-gnu-gcc
main: .
ldflags: -s -w -X github.com/vulsio/goval-dictionary/config.Version={{.Version}} -X github.com/vulsio/goval-dictionary/config.Revision={{.Commit}}
binary: goval-dictionary
- id: linux-arm64
goos:
- linux
goarch:
- arm64
env:
- CC=aarch64-linux-gnu-gcc
main: .
ldflags: -s -w -X github.com/vulsio/goval-dictionary/config.Version={{.Version}} -X github.com/vulsio/goval-dictionary/config.Revision={{.Commit}}
binary: goval-dictionary
archives:
- name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format: tar.gz
files:
- LICENSE
- README*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}