summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Bassi <calebjbassi@gmail.com>2018-03-09 20:33:29 -0800
committerCaleb Bassi <calebjbassi@gmail.com>2018-03-09 20:33:29 -0800
commit043f4f06bfaa86ce61585667a89cc58107c403d6 (patch)
treeaf13ad48a8bd7002cd11d60f432bd731bbc7c1f7
parent153eafff18f7c060a1325cf7f404713f22ee907c (diff)
Bumped version
-rwxr-xr-xbuild.sh6
-rwxr-xr-xdownload.sh2
-rw-r--r--gotop.go2
3 files changed, 5 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index f386aad..6c50d42 100755
--- a/build.sh
+++ b/build.sh
@@ -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
diff --git a/gotop.go b/gotop.go
index e25841a..6f67906 100644
--- a/gotop.go
+++ b/gotop.go
@@ -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)