diff options
author | Caleb Bassi <calebjbassi@gmail.com> | 2018-03-09 20:33:29 -0800 |
---|---|---|
committer | Caleb Bassi <calebjbassi@gmail.com> | 2018-03-09 20:33:29 -0800 |
commit | 043f4f06bfaa86ce61585667a89cc58107c403d6 (patch) | |
tree | af13ad48a8bd7002cd11d60f432bd731bbc7c1f7 | |
parent | 153eafff18f7c060a1325cf7f404713f22ee907c (diff) |
Bumped version
-rwxr-xr-x | build.sh | 6 | ||||
-rwxr-xr-x | download.sh | 2 | ||||
-rw-r--r-- | gotop.go | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env bash # Build Steps -# 1. update version number in `gotop.go` and `install.sh` +# 1. update version number in `gotop.go` and `download.sh` # 2. run this script # 3. publish binaries on GitHub # 4. push changes to GitHub @@ -11,8 +11,8 @@ VERSION=$(go run gotop.go -v) -mkdir builds -cd builds +mkdir build +cd build env GOOS=darwin GOARCH=amd64 go build ../ tar czf gotop-$VERSION-darwin_amd64.tgz gotop diff --git a/download.sh b/download.sh index 2d0ca7f..417ba20 100755 --- a/download.sh +++ b/download.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION=1.1.1 +VERSION=1.2.1 download() { curl -L https://github.com/cjbassi/gotop/releases/download/$VERSION/gotop-$VERSION-${1}.tgz > gotop.tgz @@ -14,7 +14,7 @@ import ( "github.com/docopt/docopt-go" ) -const VERSION = "1.1.1" +const VERSION = "1.2.1" var ( termResized = make(chan bool, 1) |