From 71da67ec54e1ed25a60c617f743998b283da5975 Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Wed, 14 Aug 2019 16:04:57 -0500 Subject: [PATCH] Add darwin (macOS) builds to the release (#6259) This will build a darwin tar.gz package for macOS. This allows people an easy way to download releases from github directly. --- README.md | 1 + scripts/build.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index fd4c4fc40..395975052 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ version. ### Nightly Builds These builds are generated from the master branch: +- [telegraf-nightly_darwin_amd64.tar.gz](https://dl.influxdata.com/telegraf/nightlies/telegraf-nightly_darwin_amd64.tar.gz) - [telegraf_nightly_amd64.deb](https://dl.influxdata.com/telegraf/nightlies/telegraf_nightly_amd64.deb) - [telegraf_nightly_arm64.deb](https://dl.influxdata.com/telegraf/nightlies/telegraf_nightly_arm64.deb) - [telegraf-nightly.arm64.rpm](https://dl.influxdata.com/telegraf/nightlies/telegraf-nightly.arm64.rpm) diff --git a/scripts/build.py b/scripts/build.py index dbca3a50d..14545b9eb 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -88,12 +88,14 @@ targets = { } supported_builds = { + 'darwin': [ "amd64" ], "windows": [ "amd64", "i386" ], "linux": [ "amd64", "i386", "armhf", "armel", "arm64", "static_amd64", "s390x", "mipsel", "mips"], "freebsd": [ "amd64", "i386" ] } supported_packages = { + "darwin": [ "tar" ], "linux": [ "deb", "rpm", "tar" ], "windows": [ "zip" ], "freebsd": [ "tar" ]