Bumped version
This commit is contained in:
parent
153eafff18
commit
043f4f06bf
6
build.sh
6
build.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Build Steps
|
# 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
|
# 2. run this script
|
||||||
# 3. publish binaries on GitHub
|
# 3. publish binaries on GitHub
|
||||||
# 4. push changes to GitHub
|
# 4. push changes to GitHub
|
||||||
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
VERSION=$(go run gotop.go -v)
|
VERSION=$(go run gotop.go -v)
|
||||||
|
|
||||||
mkdir builds
|
mkdir build
|
||||||
cd builds
|
cd build
|
||||||
|
|
||||||
env GOOS=darwin GOARCH=amd64 go build ../
|
env GOOS=darwin GOARCH=amd64 go build ../
|
||||||
tar czf gotop-$VERSION-darwin_amd64.tgz gotop
|
tar czf gotop-$VERSION-darwin_amd64.tgz gotop
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERSION=1.1.1
|
VERSION=1.2.1
|
||||||
|
|
||||||
download() {
|
download() {
|
||||||
curl -L https://github.com/cjbassi/gotop/releases/download/$VERSION/gotop-$VERSION-${1}.tgz > gotop.tgz
|
curl -L https://github.com/cjbassi/gotop/releases/download/$VERSION/gotop-$VERSION-${1}.tgz > gotop.tgz
|
||||||
|
|
Loading…
Reference in New Issue
Block a user