summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael R Fleet <f1337@f1337.us>2018-04-29 14:42:00 -0400
committerMichael R Fleet <f1337@f1337.us>2018-04-29 14:42:00 -0400
commit894b9b717ade74c05d9f9f8ae0a9967d0544c51f (patch)
tree71d084df84742953df85f2185d45cad835a29f5f
parent21747ecd0672b7cdc0e6e8cebe4b31f8dadda948 (diff)
Revert "Remove darwin from goreleaser and download.sh"
-rw-r--r--.goreleaser.yml7
-rwxr-xr-xdownload.sh2
2 files changed, 9 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 25d067b..7eb064c 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -12,6 +12,7 @@
builds:
- binary: gotop
goos:
+ - darwin
- linux
goarch:
- amd64
@@ -27,3 +28,9 @@ archive:
replacements:
arm64: arm8
format: tgz
+brew:
+ github:
+ owner: cjbassi
+ name: homebrew-gotop
+ description: "A terminal based graphical activity monitor inspired by gtop and vtop"
+ homepage: "https://github.com/cjbassi/gotop"
diff --git a/download.sh b/download.sh
index 4485194..0f3df01 100755
--- a/download.sh
+++ b/download.sh
@@ -12,6 +12,8 @@ download() {
arch=$(uname -sm)
case "$arch" in
# order matters
+ Darwin\ *64) download darwin_amd64 ;;
+ Darwin\ *86) download darwin_386 ;;
Linux\ armv5*) download linux_arm5 ;;
Linux\ armv6*) download linux_arm6 ;;
Linux\ armv7*) download linux_arm7 ;;