-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yml
39 lines (39 loc) · 882 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
before:
hooks:
- go mod download
monorepo:
tag_prefix: ocg
dir: main/
builds:
- flags:
- -trimpath
ldflags:
- -s -w -X github.com/Chinwendu20/otel_components_generator/main.version={{.Version}} -X go.opentelemetry.io/collector/cmd/builder/internal.date={{.Date}}
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- ppc64le
ignore:
- goos: windows
goarch: arm64
binary: ocg
release:
github:
owner: Ononiwu Maureen Chiamaka
name: opentelemetry_component_generator
header: |
### Images and binaries here: https://github.com/Chinwendu20/otel_components_generator_releases/releases/tag/{{ .Tag }}
archives:
- format: binary
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true