Skip to content

Commit

Permalink
Only build targz and zip versions of Beats of PACKAGES is set in agent
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed Feb 16, 2021
1 parent ba42321 commit 42e94aa
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions x-pack/elastic-agent/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,15 +621,7 @@ func selectedPackageTypes() string {
return ""
}

envVar := "PACKAGES="
for _, p := range devtools.SelectedPackageTypes {
if p == devtools.Docker {
envVar += "targz,"
} else {
envVar += p.String() + ","
}
}
return envVar[:len(envVar)-1]
return "PACKAGES=targz,zip"
}

func copyAll(from, to string) error {
Expand Down

0 comments on commit 42e94aa

Please sign in to comment.