-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
52 lines (52 loc) · 1.07 KB
/
.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
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/v1
id: "aws-sdk-go-metrics-v1-demo"
binary: "aws-sdk-go-metrics-v1-demo"
env:
- CGO_ENABLED=0
ldflags:
- -X main.commit={{.FullCommit}}
- -X main.version={{.Version}}
targets:
- linux_amd64
- linux_arm64
- darwin_arm64
- darwin_amd64
- windows_amd64
- windows_arm64
- main: ./cmd/v2
id: "aws-sdk-go-metrics-v2-demo"
binary: "aws-sdk-go-metrics-v2-demo"
env:
- CGO_ENABLED=0
ldflags:
- -X main.commit={{.FullCommit}}
- -X main.version={{.Version}}
targets:
- linux_amd64
- linux_arm64
- darwin_arm64
- darwin_amd64
- windows_amd64
- windows_arm64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-snapshot"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- maintainer: Brandon Wagner
description: |-
aws-sdk-go-metrics prometheus demo
license: Apache-2.0
formats:
- deb
- rpm