Skip to content

armgit / hey

Public Imported from GitHub
0

HTTP load generator, ApacheBench (ab) replacement

Go

Add upload target to the Makefile and update the links

JBDe64ec7a3ad1e
diff --git a/Makefile b/Makefile
index 50fdfa5..3e01976 100644
--- a/Makefile
+++ b/Makefile
@@ -4,3 +4,9 @@ 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
+
+upload:
+ gsutil -m cp -r ./bin/* gs://hey-releases/
+
+release-upload: release upload
+
diff --git a/README.md b/README.md
index 589fb53..fc2e89f 100644
--- a/README.md
+++ b/README.md
@@ -9,9 +9,9 @@ To preserve the name for its original owner, we renamed this project to hey.
## Installation
-* Linux 64-bit: https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64
-* Mac 64-bit: https://hey-release.s3.us-east-2.amazonaws.com/hey_darwin_amd64
-* Windows 64-bit: https://hey-release.s3.us-east-2.amazonaws.com/hey_windows_amd64
+ - Linux (amd64): https://storage.googleapis.com/hey-releases/hey_linux_amd64
+ - macOS (amd64): https://storage.googleapis.com/hey-releases/hey_darwin_amd64
+ - Windows (amd64): https://storage.googleapis.com/hey-releases/hey_windows_amd64
### Package Managers