File tree Expand file tree Collapse file tree 3 files changed +391
-3
lines changed Expand file tree Collapse file tree 3 files changed +391
-3
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,14 @@ before_deploy:
1717 - go get -u github.com/mitchellh/gox
1818 - go get -u github.com/tcnksm/ghr
1919
20- - gox -output "binary/tt_{{.OS}}_{{.Arch}}" -ldflags "-X main.Rev=`git rev-parse --short HEAD` -X main.Version=`git describe --tags | cut -dv -f 2`" -verbose
20+ - gox -output "binary/tt_{{.OS}}_{{.Arch}}/tt " -ldflags "-X main.Rev=`git rev-parse --short HEAD` -X main.Version=`git describe --tags | cut -dv -f 2`" -verbose
2121 - cp token_ticker.example.yaml binary
2222 - mkdir -p dist
2323 - for f in binary/*; do
24- if [[ -f "$f" && -x "$f" ]]; then
24+ if [[ -d "$f" ]]; then
25+ cp token_ticker.example.yaml "$f";
2526 base=$(basename "$f");
26- tar zcvf "dist/$base.tar.gz" -C binary "$base" token_ticker.example.yaml ;
27+ tar zcvf "dist/$base.tar.gz" -C "$f" . ;
2728 fi
2829 done
2930# - ghr --username polyrabbit --token $GITHUB_TOKEN --replace -delete --prerelease --debug pre-release dist/
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ Token-ticker (or `tt` for short) is a CLI tool for those who are both **Crypto i
4040# work in process
4141```
4242
43+ #### ` curl | bash ` style downloads to ` /usr/local/bin `
44+ ``` bash
45+ $ curl -sfL https://raw.githubusercontent.com/polyrabbit/token-ticker/master/install.sh | bash -s -- -b /usr/local/bin
46+ ```
47+
4348#### Using [ Go] ( https://golang.org/ ) (1.9+)
4449``` bash
4550$ go get -u github.com/polyrabbit/token-ticker
You can’t perform that action at this time.
0 commit comments