Skip to content

Commit 5e7ee49

Browse files
committed
add back github repo after reverted PR
1 parent cb030be commit 5e7ee49

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

cmd/builder/.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ env:
77
- CONTAINER_IMAGE_EPHEMERAL_TAG=latest
88
- CGO_ENABLED=0
99
release:
10-
make_latest: "false"
1110
github:
1211
owner: open-telemetry
1312
name: opentelemetry-collector-releases
13+
make_latest: "false"
1414
header: '### Images and binaries for collector distributions here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/{{ .Tag }}'
1515
builds:
1616
- id: builder-linux

cmd/goreleaser/internal/configure.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,17 +503,21 @@ func (b *distributionBuilder) WithDefaultRelease() *distributionBuilder {
503503

504504
func (b *distributionBuilder) WithDefaultBinaryRelease(header string) *distributionBuilder {
505505
b.configFuncs = append(b.configFuncs, func(d *distribution) {
506-
b.dist.release = b.release(header)
506+
b.dist.release = b.binaryRelease(header)
507507
})
508508
return b
509509
}
510510

511-
func (b *distributionBuilder) release(header string) config.Release {
511+
func (b *distributionBuilder) binaryRelease(header string) config.Release {
512512
return config.Release{
513513
MakeLatest: "false",
514514
Header: config.IncludedMarkdown{
515515
Content: header,
516516
},
517+
GitHub: config.Repo{
518+
Owner: "open-telemetry",
519+
Name: "opentelemetry-collector-releases",
520+
},
517521
}
518522
}
519523

cmd/opampsupervisor/.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ env:
77
- CONTAINER_IMAGE_EPHEMERAL_TAG=latest
88
- CGO_ENABLED=0
99
release:
10-
make_latest: "false"
1110
github:
1211
owner: open-telemetry
1312
name: opentelemetry-collector-releases
13+
make_latest: "false"
1414
header: '### Release of OpAMP supervisor artifacts'
1515
builds:
1616
- id: opampsupervisor-linux

0 commit comments

Comments
 (0)