You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
334 B
10 lines
334 B
#!/bin/sh
|
|
|
|
set -xe
|
|
test -n "$1"
|
|
|
|
GOOS=darwin GOARCH=amd64 go build -o github-mirror-darwin-amd64-$1
|
|
GOOS=linux GOARCH=amd64 go build -o github-mirror-linux-amd64-$1
|
|
GOOS=linux GOARCH=arm64 go build -o github-mirror-linux-arm64-$1
|
|
GOOS=linux GOARCH=arm go build -o github-mirror-linux-arm-$1
|
|
shasum -a 256 github-mirror-* > SHA256SUMS
|
|
|