Add release script and publish binaries
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
bin/
|
||||
9
Makefile
Normal file
9
Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
binary = hey
|
||||
|
||||
release:
|
||||
GOOS=windows GOARCH=amd64 go build -o ./bin/$(binary)_windows_amd64
|
||||
GOOS=linux GOARCH=amd64 go build -o ./bin/$(binary)_linux_amd64
|
||||
GOOS=darwin GOARCH=amd64 go build -o ./bin/$(binary)_darwin_amd64
|
||||
|
||||
push:
|
||||
gsutil cp bin/* gs://$(binary)-release
|
||||
@@ -59,3 +59,9 @@ Options:
|
||||
Previously known as [github.com/rakyll/boom](https://github.com/rakyll/boom).
|
||||
|
||||
Note: Requires go 1.7 or greater.
|
||||
|
||||
## Binaries
|
||||
|
||||
Linux 64-bit: https://storage.googleapis.com/hey-release/hey_linux_amd64
|
||||
Mac 64-bit: https://storage.googleapis.com/hey-release/hey_darwin_amd64
|
||||
Windows 64-bit: https://storage.googleapis.com/hey-release/hey_windows_amd64
|
||||
|
||||
Reference in New Issue
Block a user