From cb099366a8b78dec59476a23828fc7e480a58069 Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Mon, 7 Feb 2022 14:27:13 +0800 Subject: [PATCH] magefile: remove DMG-related bits Removed from libbeat in https://github.com/elastic/beats/pull/30097 --- magefile.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/magefile.go b/magefile.go index b73a3cc1f3e..730b5f86a07 100644 --- a/magefile.go +++ b/magefile.go @@ -202,12 +202,6 @@ func customizePackaging() { for idx := len(mage.Packages) - 1; idx >= 0; idx-- { args := &mage.Packages[idx] - pkgType := args.Types[0] - if pkgType == mage.DMG { - // We do not build macOS packages. - mage.Packages = append(mage.Packages[:idx], mage.Packages[idx+1:]...) - continue - } // Replace the generic Beats README.md with an APM specific one, and remove files unused by apm-server. for filename, filespec := range args.Spec.Files {