-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
54 lines (45 loc) · 921 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
# nomad-onload .goreleaser.yml
# Copyright (c) 2024 Neomantra BV
# Documentation at http://goreleaser.com
project_name: nomad-onload
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/nomad-device-onload
id: nomad-device-onload
binary: nomad-device-onload
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- main: ./cmd/onload-probe
id: nomad-probe-onload
binary: nomad-probe-onload
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
archives:
- id: nomad-onload
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
universal_binaries:
- replace: true
release:
github:
owner: neomantra
name: nomad-onload