1
0
mirror of https://github.com/cjbassi/gotop.git synced 2025-04-27 13:48:54 +08:00

Revert "Remove darwin from goreleaser and download.sh"

This reverts commit b0e129e1c1edd5d38c4535c169bb3f43962e8e38.
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: builds:
- binary: gotop - binary: gotop
goos: goos:
- darwin
- linux - linux
goarch: goarch:
- amd64 - amd64
@ -27,3 +28,9 @@ archive:
replacements: replacements:
arm64: arm8 arm64: arm8
format: tgz 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) arch=$(uname -sm)
case "$arch" in case "$arch" in
# order matters # order matters
Darwin\ *64) download darwin_amd64 ;;
Darwin\ *86) download darwin_386 ;;
Linux\ armv5*) download linux_arm5 ;; Linux\ armv5*) download linux_arm5 ;;
Linux\ armv6*) download linux_arm6 ;; Linux\ armv6*) download linux_arm6 ;;
Linux\ armv7*) download linux_arm7 ;; Linux\ armv7*) download linux_arm7 ;;