Skip to content

Commit

Permalink
ci: fix benthos collector binary build
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <[email protected]>
  • Loading branch information
sagikazarmark committed Jan 24, 2024
1 parent 2f52ef7 commit 0de9858
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ci/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ func (m *Binary) build(platform Platform, version string, pkg string) *File {

return goModule().
WithSource(m.Source).
WithPlatform(string(platform)).
Build(GoWithSourceBuildOpts{
Name: "benthos",
Pkg: pkg,
Expand Down
2 changes: 1 addition & 1 deletion ci/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (m *Ci) binaryArchive(version string, platform Platform) *File {
}

return archiver.Archive(
fmt.Sprintf("benthos_%s", strings.ReplaceAll(string(platform), "/", "_")),
fmt.Sprintf("benthos-collector_%s", strings.ReplaceAll(string(platform), "/", "_")),
dag.Directory().
WithFile("", m.Build().Binary().benthosCollector(platform, version)).
WithFile("", m.Source.File("README.md")).
Expand Down

0 comments on commit 0de9858

Please sign in to comment.