Revert "Remove darwin from goreleaser and download.sh"

This reverts commit b0e129e1c1.
This commit is contained in:
Michael R Fleet 2018-04-29 14:42:00 -04:00
parent 21747ecd06
commit 894b9b717a
2 changed files with 9 additions and 0 deletions

View File

@ -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"

View File

@ -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 ;;