Skip to content

Commit ace8bac

Browse files
committed
specify build IDs for multiple binaries
1 parent 717018c commit ace8bac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.goreleaser.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ dist: build
22
version: 2
33
builds:
44
- binary: mongodb_exporter
5+
id: mongodb_exporter
56
env:
67
goos:
78
- linux
@@ -20,7 +21,8 @@ builds:
2021
- -v
2122
ldflags:
2223
- -s -w -X main.version=v{{.Version}} -X main.commit={{.ShortCommit}} -X main.buildDate={{.Date}}
23-
- binary: mongodb_exporter.gssapi
24+
- binary: mongodb_exporter-gssapi
25+
id: mongodb_exporter-gssapi
2426
env:
2527
- CGO_ENABLED=1
2628
goos:

0 commit comments

Comments
 (0)